﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
CodeBehind="MatchInstructions_New.aspx.cs" Inherits="Nivdal.MatchInstructions_New" Theme="SkinFile" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Assembly="obout_Flyout2_NET" Namespace="OboutInc.Flyout2" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadPlaceHolder" Runat="Server">
    <asp:Literal ID="MatchInstructionsLinkLiteral" runat="server"></asp:Literal>
    <asp:Literal ID="JavascripLinkLiteral" runat="server"></asp:Literal>
    <asp:Literal ID="JavaSubLinkLiteral" runat="server"></asp:Literal>
	
    <script language="javascript" type="text/javascript">
        function showPitch() {  
            $("#preload").hide();
            $("#postload").show();
        }
    
    </script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="PageNamePlaceHolder" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    
    <div class="mainfielddiv vectors_container">
    <div class="basic_element">
    
    <div id="preload">
        <asp:Image ID="LoadingImage" runat="server" ImageUrl="~/Images/ajax-loader.gif" />
    </div>
    <div id="postload" style="display:none;">
    <div class="tbl"><div class="tblr"><div class="red_title tblc">
    <asp:Label ID="PageNameLabel" runat="server" Text="<%$ Resources:Resource, MatchInstructions_PageNameLabel %>"
                CssClass="white_title"></asp:Label>
    </div></div></div>
    <div class="padding5">
    <asp:Label ID="DebugLabel" runat="server" Text=""></asp:Label>
    <asp:HiddenField ID="LanguageHiddenField" runat="server" />
    <asp:HiddenField ID="PenaltiesVisibleHiddenField" runat="server" />
    <asp:HiddenField ID="TeamIdHiddenField" runat="server" />
    <div id="DragContainer">
    <asp:HiddenField ID="PlayersCountHiddenField" runat="server" Value="0"/>
    <asp:HiddenField ID="DirectionHiddenField" runat="server" />
    <asp:HiddenField ID="NumCheckedAttributes" runat="server" Value="0" />
    <asp:HiddenField ID="UserIdHiddenField" runat="server" />
    <asp:HiddenField ID="MatchIdHiddenField" runat="server" />
    <asp:HiddenField ID="AlertNoteHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructions_CanShowOnly3AttributesAlertText  %>" />
    <asp:HiddenField ID="NumPlayersHiddenField" runat="server" />
    <asp:HiddenField ID="ElevenPlayersMessageHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructions_Only11PlayersText  %>" />
    <asp:HiddenField ID="NeedAttitudeMEssageHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructions_PleaseSetTeamAttitude  %>" />
    <asp:HiddenField ID="NeedAggressivenessMessageHiddenField" runat="server" 
     Value="<%$ Resources:Resource, MatchInstructions_PleaseSetTeamAggeressiveness %>"/>
    <asp:HiddenField ID="AssignAllInstructionsMessageHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructions_PleaseAssignPlayersInstructions %>" />
    <asp:HiddenField ID="ChooseSubPositionsMessageHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructions_PleaseChoosePositionsForSubs %>" />
    <asp:HiddenField ID="CaptainMustBeMessageHiddenField" runat="server" 
     Value="<%$ Resources:Resource, MatchInstructions_CaptainMustBeOnTheSquad %>"/>
    <asp:HiddenField ID="SetPiecesTakerMustBeMessageHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructions_SetPiecesTakerMustBeOnTheSquad %>" />
    <asp:HiddenField ID="ShotOnGoalAbbreviationHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructionsNew_ShotOnGoalAbbreviationHiddenFieldText %>" />
    <asp:HiddenField ID="ShortPassAbbreviationHiddenField" runat="server" 
     Value="<%$ Resources:Resource, MatchInstructionsNew_ShortPassAbbreviationHiddenFieldText %>"/>
    <asp:HiddenField ID="LongPassAbbreviationHiddenField" runat="server" 
     Value="<%$ Resources:Resource, MatchInstructionsNew_LongPassAbbreviationHiddenFieldText %>"/>
    <asp:HiddenField ID="DribbleAbbreviationHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructionsNew_DribbleAbbreviationHiddenFieldText %>" />
    <asp:HiddenField Id="AreYouSureSubmitOrdersHiddenField" runat="server" 
     Value="<%$ Resources:Resource, MatchInstructions_SubmitOrdersAreYouSure %>" />
    <asp:HiddenField ID="ReachedMaxSubstitutionsNumberHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructionsNew_ReachedMaxSubstitutionsNumberText %>" /> 
     
    <asp:HiddenField ID="NoSubstitutionTimeRestrictionsHiddenField" runat="server"
    Value="<%$ Resources:Resource, MatchInstructions_NoSubstitutionTimeRestrictionsString  %>" />
    <asp:HiddenField ID="NoLaterThanStringHiddenField" runat="server" 
    Value="<%$ Resources:Resource, MatchInstructions_NoLaterThanString %>" />
    <asp:HiddenField ID="MinutesHiddenField" runat="server" 
    Value="<%$ Resources:Resource, Global_Minutes %>" />
    <asp:HiddenField ID="NotBeforeTextHiddenField" runat="server" 
    Value="<%$ Resources:Resource, MatchSubstitutionInstructions_NotBeforeHeaderText %>" />
    <asp:HiddenField ID="NoPossessionRestrictionsStringHiddenField" runat="server" 
    Value="<%$ Resources:Resource, MatchInstrctions_NoPossessionRestrictionsString %>" />
    <asp:HiddenField ID="NoMoreThan_PercentHiddenField" runat="server" 
    Value="<%$ Resources:Resource, MatchInsrtuctions_NoMoreThan_Percent_Part1 %>" />
    <asp:HiddenField ID="PercentHiddenField" runat="server" 
    Value="<%$ Resources:Resource, MatchInstructions_PercentText %>" />
    <asp:HiddenField ID="AtLeast_PercentHiddenField" runat="server" 
    Value="<%$ Resources:Resource, MatchInstructions_AtLeast_Percent_Part1 %>" />
    <asp:HiddenField ID="BetweenHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructions_Between_A_Percent_and_B_Part1 %>" />
     <asp:HiddenField ID="PercentAndHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructions_Between_A_Percent_and_B_Part2 %>" />
     <asp:HiddenField ID="DrawnStringHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructions_GoalsConditions_DrawnString %>" />
     <asp:HiddenField ID="UpByStringHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructions_GoalsConditions_UpBy_GoalsString %>" />
     <asp:HiddenField ID="DownByStringHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructions_GoalsConditions_DownBy_GoalsString %>" />
     <asp:HiddenField ID="AnywayStringHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructions_GoalsConditions_AnywayString %>" />
     <asp:HiddenField ID="GoalsForeMostHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructions_GoalsConditionForMostString %>" />
     <asp:HiddenField ID="GoalsConditionAtLeastHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructions_GoalsConditionAtLeastString %>" />
     <asp:HiddenField ID="AndWordHiddenField" runat="server"
     Value="<%$ Resources:Resource, AndWord %>" />
    <asp:HiddenField ID="PleaseSelectPlayerInHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructions_PleaseSelectPlayerInErrorMessage %>" /> 
    <asp:HiddenField ID="PleaseSelectPlayerOutHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructions_PleaseSelectPlayerOutErrorMessage %>" /> 
    <asp:HiddenField ID="PleaseSelectPlayerHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructions_PleaseSelectPlayerErrorMessage %>" /> 
     <asp:HiddenField ID="AreYouSureDeleteInstructionHiddenField" runat="server"
      Value="<%$ Resources:Resource, MatchSubstitutionInstructions_FriendlyChallangeDeleteInstructionOnButtonClickQuestion %>" />
    <asp:HiddenField ID="LeftNameHiddenField" runat="server" 
     Value="<%$ Resources:Resource, MatchInstructionsNew_Left %>"/>
    <asp:HiddenField ID="LeftCenterNameHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructionsNew_LeftCenter %>" />
    <asp:HiddenField ID="CenterNameHiddenField" runat="server" 
     Value="<%$ Resources:Resource, MatchInstructionsNew_Center %>"/>
    <asp:HiddenField ID="RightCenterNameHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructionsNew_RightCenter %>" />
    <asp:HiddenField ID="RightNameHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructionsNew_Right %>" />
    <asp:HiddenField ID="KeeperNameHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructionsNew_Keeper %>" />
    <asp:HiddenField ID="DefenderNameHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructionsNew_Defender %>" />
    <asp:HiddenField ID="MidfieldNameHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructionsNew_Midfielder %>" />
    <asp:HiddenField ID="ForwardNameHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructionsNew_Forward %>" />
    <asp:HiddenField ID="NotPlayingHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructionsNew_NotPlaying %>" />
     <asp:HiddenField ID="SubstituteNameHiddenField" runat="server"
     Value="<%$ Resources:Resource, MatchInstructionsNew_Substitute %>" />
     
     <div class="MI_PlayersTableVecor">
     <div class="basic_element">
        <div class="tbl"><div class="tblr"><div class="grey_title tblc">
            <asp:Label ID="ChooseAttributesToShowLabel" runat="server" CssClass="white_title"
            Text="<%$ Resources:Resource, MatchInstructionsNew_AttributesListText %>"></asp:Label>
        </div></div></div>
        <div class="padding5">
            <div class="tbl"><div class="tblr"><div class="tblc">
                <asp:CheckBox ID="ExperienceCheckBox" runat="server" CssClass="NewsItemStyle"  
                ToolTip="<%$ Resources:Resource, Global_Experience %>" Text="<%$ Resources:Resource, Global_ExperienceHeader %>"
                    Checked="false" onclick="javascript:AttributeChecked('ExperienceCheckBox')"/>
            </div><div class="tblc">
                <asp:CheckBox ID="AgeCheckBox" runat="server" CssClass="NewsItemStyle" 
                 ToolTip="<%$ Resources:Resource, Global_Age %>" Text="<%$ Resources:Resource, Global_AgeAbbreviation %>"
                   Checked="false" onclick="javascript:AttributeChecked('AgeCheckBox')" />
            </div><div class="tblc">
                <asp:CheckBox ID="CharismaCheckBox" runat="server" CssClass="NewsItemStyle" 
                ToolTip="<%$ Resources:Resource, Global_Charisma %>" Text="<%$ Resources:Resource, Global_CharismaTitleLabel %>"
                Checked="false" onclick="javascript:AttributeChecked('CharismaCheckBox')"/>
            </div><div class="tblc">
                <asp:CheckBox ID="StrongFootCheckBox" runat="server" CssClass="NewsItemStyle" 
                 ToolTip="<%$ Resources:Resource, Global_StrongFoot %>" Text="<%$ Resources:Resource, Global_StrongFootHeader %>"
                Checked="false" onclick="javascript:AttributeChecked('StrongFootCheckBox')"/>
            </div></div><div class="tblr"><div class="tblc">
                <asp:CheckBox ID="StaminaCheckBox" runat="server" CssClass="NewsItemStyle" 
                 ToolTip="<%$ Resources:Resource, Global_Stamina %>" Text="<%$ Resources:Resource, Global_StaminaHeader %>"
                 Checked="false" onclick="javascript:AttributeChecked('StaminaCheckBox')"/>
            </div><div class="tblc">
                <asp:CheckBox ID="InstinctsCheckBox" runat="server" CssClass="NewsItemStyle" 
                ToolTip="<%$ Resources:Resource, Global_Instincts %>" Text="<%$ Resources:Resource, Global_InstinctsHeader %>"
                Checked="false" onclick="javascript:AttributeChecked('InstinctsCheckBox')"/>
            </div><div class="tblc">
                <asp:CheckBox ID="GoalKeepingCheckBox" runat="server" CssClass="NewsItemStyle" 
                 ToolTip="<%$ Resources:Resource, Global_GoalKeeping %>" Text="<%$ Resources:Resource, Global_GoalKeepingHeader %>"
                Checked="false" onclick="javascript:AttributeChecked('GoalKeepingCheckBox')"/>
            </div><div class="tblc">
                <asp:CheckBox ID="PositioningCheckBox" runat="server" CssClass="NewsItemStyle" 
                 ToolTip="<%$ Resources:Resource, Global_Positioning %>" Text="<%$ Resources:Resource, MatchInstructions_PositioningHeaderLabel %>"
                Checked="false" onclick="javascript:AttributeChecked('PositioningCheckBox')"/>
            </div></div><div class="tblr"><div class="tblc">
                <asp:CheckBox ID="PowerCheckBox" runat="server" CssClass="NewsItemStyle" 
                 ToolTip="<%$ Resources:Resource, Global_Power %>" Text="<%$ Resources:Resource, MatchInstructions_PowerHeaderLabel %>"
                Checked="false" onclick="javascript:AttributeChecked('PowerCheckBox')"/>
            </div><div class="tblc">
                <asp:CheckBox ID="TacklingCheckBox" runat="server" CssClass="NewsItemStyle" 
                 ToolTip="<%$ Resources:Resource, Global_Tackling %>" Text="<%$ Resources:Resource, Global_TacklingHeader %>"
                 Checked="false" onclick="javascript:AttributeChecked('TacklingCheckBox')"/>
            </div><div class="tblc">
                <asp:CheckBox ID="HeadingCheckBox" runat="server" CssClass="NewsItemStyle" 
                 ToolTip="<%$ Resources:Resource, Global_Heading %>" Text="<%$ Resources:Resource, MatchInstructions_HeadingHeaderLabel %>"
                 Checked="false" onclick="javascript:AttributeChecked('HeadingCheckBox')" />
            </div><div class="tblc">
                <asp:CheckBox ID="QuicknessCheckBox" runat="server" CssClass="NewsItemStyle" 
                 ToolTip="<%$ Resources:Resource, Global_Quickness %>" Text="<%$ Resources:Resource, MatchInstructions_QuicknessHeaderLabel %>"
                 Checked="false" onclick="javascript:AttributeChecked('QuicknessCheckBox')"/>
            </div></div><div class="tblr"><div class="tblc">
                <asp:CheckBox ID="TechniqueCheckBox" runat="server" CssClass="NewsItemStyle" 
                 ToolTip="<%$ Resources:Resource, Global_Technique %>" Text="<%$ Resources:Resource, Global_TechniqueHeader %>"
                 Checked="false" onclick="javascript:AttributeChecked('TechniqueCheckBox')"/>
            </div><div class="tblc">
                <asp:CheckBox ID="ShortPassingCheckBox" runat="server" CssClass="NewsItemStyle" 
                 ToolTip="<%$ Resources:Resource, Global_ShortPassing %>" Text="<%$ Resources:Resource, Global_ShortPassingHeader %>"
                 Checked="false" onclick="javascript:AttributeChecked('ShortPassingCheckBox')"/>
            </div><div class="tblc">
                <asp:CheckBox ID="LongPassingCheckBox" runat="server" CssClass="NewsItemStyle" 
                 ToolTip="<%$ Resources:Resource, Global_LongPassing %>" Text="<%$ Resources:Resource, Global_LongPassingHeader %>"
                 Checked="false" onclick="javascript:AttributeChecked('LongPassingCheckBox')"/>
            </div><div class="tblc">
                <asp:CheckBox ID="ShootingCheckBox" runat="server" CssClass="NewsItemStyle" 
                 ToolTip="<%$ Resources:Resource, Global_Shooting %>" Text="<%$ Resources:Resource, MatchInstructions_ShootingHeaderLabel %>"
                Checked="false" onclick="javascript:AttributeChecked('ShootingCheckBox')"/>
            </div></div></div>
                                                                   
        </div>
     </div>
     <div class="basic_element">
     <div class="padding5">
        <div id="playersGrid" class="PlayersDroppableStyle">
        <asp:GridView ID="PlayersGridView" runat="server" DataSourceID="PlayersDataSourse"
         AutoGenerateColumns="false" AllowPaging="false" SkinID="Professional" >
            <Columns>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Label ID="NumberHeaderLabel" runat="server" Text="#" style="cursor:pointer;"></asp:Label>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Label ID="NumSortLabel" runat="server" Text='<%# NumberStringCorrected(Eval("ShirtNumber")) %>' style="display:none;"></asp:Label>
                        <div id='<%# "Number" + Eval("PlayerId") %>' class="GridCellStyle">                            
                            <%# Eval("ShirtNumber") %>                            
                        </div>                     
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Label ID="NumberHeaderLabel" runat="server" Text="@" style="cursor:pointer;" 
                        ToolTip="<%$ Resources:Resource, Global_Position %>"></asp:Label>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <label id='<%# "SortLabel" + Eval("playerId") %>' style="display:none;">00</label>
                        <div id='<%# "playerGridPosition" + Eval("PlayerId") %>' class="GridCellStyle">
                            <img id='<%# "PlayerPositionImg" + Eval("PlayerId") %>' src="Images/MatchInstructions/NotPlaying.png" alt="" />                            
                        </div>
                        <script type="text/javascript" language="javascript">
                            SetDefaultImageTitle('<%# Eval("PlayerId") %>');
                        </script>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Label ID="PlayerHeaderLabel" runat="server" Text="<%$ Resources:Resource, Global_Player %>"
                         style="cursor:pointer;"></asp:Label>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Label ID="SortNameLabel" runat="server"
                         Text='<%# Eval("PlayerName") %>' style="display:none;"></asp:Label>
                        <div id="<%# "draggable" + Eval("PlayerId") %>" class="draggableGridStyle"
                             onmouseover="PlayerInGridOnMouseOver('<%# Eval("PlayerId") %>')"
                             onmouseout="PlayerInGridOnMouseOut('<%# Eval("PlayerId") %>')">
                            <asp:Label ID="PlayerNameLabel" runat="server" Text='<%# Eval("PlayerInitials") %>'
                             ToolTip='<%# Eval("FullPlayerName") %>'></asp:Label>
                        </div>
                        <script type="text/javascript" language="javascript">
                            $(function () {
                                $("#" + '<%# "draggable" + Eval("PlayerId") %>').draggable({
                                    opacity: 0.80,
                                    containment: "#DragContainer",
                                    stack: "#" + '<%# "draggable" + Eval("PlayerId") %>',
                                    //helper: "clone",
                                    helper: function(){
                                        var dom = [];
                                        dom.push("<div class=\"playerdraggablehelper\">" + '<%# Eval("PlayerName") %>' + "</div>");
                                        return $(dom.join(''));
                                    },
                                    revert: "invalid",
                                    playerId: '<%# Eval("PlayerId") %>',
                                    playerName: '<%# Eval("PlayerInitials") %>',
                                    IsInjured: '<%# Eval("IsInjured") %>',
                                    DragType: "Gridview",
                                    AreaName: "None",
                                    start: function (event, ui) {
                                        $("#playersGrid").droppable("option", "accept", "none");
                                    },
                                    stop: function (event, ui) {
                                        $("#playersGrid").droppable("option", "accept", "*");
                                    }
                                });
                            })                                        
                        </script>
                        <asp:HiddenField ID="DivIdHiddenField" runat="server" Value='<%# "draggable" + Eval("PlayerId") %>'/>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Label ID="PlayerHeaderLabel" runat="server" Text="&" ToolTip="<%$ Resources:Resource, Global_BestPositions %>" style="cursor:pointer;"></asp:Label>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Label ID="SortBestPositionsLabel" runat="server"
                         Text='<%# Eval("BestPositionSortText") %>' style="display:none;"></asp:Label>
                        <div id='<%# "BestPositions" + Eval("PlayerId") %>' class="GridCellStyle">
                            <asp:Label ID="BestPositionsLabel" runat="server" Text='<%# Eval("BestPositions") %>'
                             ToolTip='<%# Eval("BestPositionsTooltip") %>'></asp:Label>
                        </div>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <ItemTemplate>
                        <div id='<%# "Note" + Eval("PlayerId") %>' class="GridCellStyle">
                            <asp:Image ID="NoteImage" runat="server" 
                                ImageUrl="~/Images/Icons/PrivateNote.png" 
                                Visible='<%# Eval("PrivateNote").ToString().Length > 0 %>'
                                ToolTip='<%# Eval("PrivateNote") %>' />
                            <%--<cc1:Flyout ID="NoteFlout" runat="server" AttachTo="NoteImage" NoneEffect="true"
                             Position="MIDDLE_RIGHT" Visible='<%# Eval("PrivateNote").ToString().Length > 0 %>' >
                                <div class="ToolTipStyle">
                                    <asp:Label ID="NoteLabel" runat="server" Text='<%# Eval("PrivateNote") %>'></asp:Label>
                                </div>
                            </cc1:Flyout>--%>
                         </div>                         
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Label ID="FitnessHeaderLabel" runat="server" style="cursor:pointer;"
                        Text="<%$ Resources:Resource, Global_FitnessHeader %>"
                        ToolTip="<%$ Resources:Resource, Global_Fitness %>"></asp:Label>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Label ID="FitnessSortLabel" runat="server" Text='<%# NumberStringCorrected(Eval("Fitness")) %>' style="display:none;"></asp:Label>
                        <div id='<%# "fitness"+Eval("PlayerId") %>' class="GridCellStyle">
                        <asp:Label ID="FitnessLabel" runat="server" Text='<%# Eval("Fitness") %>' 
                        ToolTip="<%$ Resources:Resource, Global_Fitness %>"></asp:Label>
                        </div>
                        
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Label ID="Experience" runat="server" style="cursor:pointer;"
                        Text="<%$ Resources:Resource, Global_ExperienceHeader %>"  
                        ToolTip="<%$ Resources:Resource, Global_Experience%>" ></asp:Label>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Label ID="ExperienceSortLabel" runat="server" 
                        Text='<%# NumberStringCorrected(Eval("Experience")) %>' style="display:none;"></asp:Label>
                        <div id='<%# "experience" + Eval("PlayerId") %>' class="GridCellStyle">
                            <asp:Label ID="ExperienceLabel" runat="server" Text='<%# Eval("Experience") %>'></asp:Label>
                        </div>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Label ID="AgeHeaderLabel" runat="server" style="cursor:pointer;"
                        Text="<%$ Resources:Resource, Global_AgeAbbreviation %>"
                        ToolTip="<%$ Resources:Resource, Global_Age %>"></asp:Label>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Label ID="AgeSortLabel" runat="server"
                         Text='<%# Eval("Age") %>' style="display:none;"></asp:Label>
                         <div id='<%# "Age" + Eval("PlayerId") %>' class="GridCellStyle">
                             <asp:Label ID="AgeLabel" runat="server" Text='<%# Eval("Age") %>' ></asp:Label>
                         </div>
                    </ItemTemplate>
                </asp:TemplateField>    
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Label ID="CharismaHeaderLabel" runat="server" style="cursor:pointer;" 
                        Text="<%$ Resources:Resource, Global_CharismaTitleLabel %>"
                        ToolTip="<%$ Resources:Resource, Global_Charisma %>"></asp:Label>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Label ID="CharismaSortLabel" runat="server"
                         Text='<%# NumberStringCorrected(Eval("Charisma")) %>' style="display:none;"></asp:Label>
                         <div id='<%# "Charisma" + Eval("PlayerId") %>' class="GridCellStyle">
                             <asp:Label ID="CharismaLabel" runat="server" Text='<%# Eval("Charisma") %>' ></asp:Label>
                         </div>
                    </ItemTemplate>
                </asp:TemplateField>  
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Label ID="StrongFootHeaderLabel" runat="server" style="cursor:pointer;" 
                        Text="<%$ Resources:Resource, Global_StrongFootHeader %>"
                        ToolTip="<%$ Resources:Resource, Global_StrongFoot %>"></asp:Label>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Label ID="StrongFootSortLabel" runat="server"
                         Text='<%# Eval("StrongFoot") %>' style="display:none;"></asp:Label>
                         <div id='<%# "StrongFoot" + Eval("PlayerId") %>' class="GridCellStyle">
                             <asp:Label ID="StrongFootLabel" runat="server" Text='<%# Eval("StrongFootShort") %>' ></asp:Label>
                         </div>                         
                    </ItemTemplate>
                </asp:TemplateField>  
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Label ID="StaminaHeaderLabel" runat="server" style="cursor:pointer;" 
                        Text="<%$ Resources:Resource, Global_StaminaHeader %>"
                        ToolTip="<%$ Resources:Resource, Global_Stamina %>"></asp:Label>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Label ID="StaminaSortLabel" runat="server"
                         Text='<%# NumberStringCorrected(Eval("Stamina")) %>' style="display:none;"></asp:Label>
                         <div id='<%# "Stamina" + Eval("PlayerId") %>' class="GridCellStyle">
                             <asp:Label ID="StaminaLabel" runat="server" Text='<%# Eval("Stamina") %>' ></asp:Label>
                         </div>
                    </ItemTemplate>
                </asp:TemplateField> 
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Label ID="InstinctsHeaderLabel" runat="server" style="cursor:pointer;" 
                        Text="<%$ Resources:Resource, Global_InstinctsHeader %>"
                        ToolTip="<%$ Resources:Resource, Global_Instincts %>"></asp:Label>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Label ID="InstinctsSortLabel" runat="server"
                         Text='<%# NumberStringCorrected(Eval("Instincts")) %>' style="display:none;"></asp:Label>
                         <div id='<%# "Instincts" + Eval("PlayerId") %>' class="GridCellStyle">
                             <asp:Label ID="InstinctsLabel" runat="server" Text='<%# Eval("Instincts") %>' ></asp:Label>
                         </div>
                    </ItemTemplate>
                </asp:TemplateField>     
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Label ID="GoalKeepingHeaderLabel" runat="server" style="cursor:pointer;" 
                        Text="<%$ Resources:Resource, Global_GoalKeepingHeader %>"
                        ToolTip="<%$ Resources:Resource, Global_GoalKeeping %>"></asp:Label>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Label ID="GoalKeepingSortLabel" runat="server"
                         Text='<%# NumberStringCorrected(Eval("GoalKeeping")) %>' style="display:none;"></asp:Label>
                         <div id='<%# "GoalKeeping" + Eval("PlayerId") %>' class="GridCellStyle">
                             <asp:Label ID="GoalKeepingLabel" runat="server" Text='<%# Eval("GoalKeeping") %>' ></asp:Label>
                         </div>
                    </ItemTemplate>
                </asp:TemplateField>  
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Label ID="PositioningHeaderLabel" runat="server" style="cursor:pointer;" 
                        Text="<%$ Resources:Resource, TeamListOfPlayers_PositioningHeaderLabel %>"
                        ToolTip="<%$ Resources:Resource, Global_Positioning %>"></asp:Label>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Label ID="PositioningSortLabel" runat="server"
                         Text='<%# NumberStringCorrected(Eval("Positioning")) %>' style="display:none;"></asp:Label>
                         <div id='<%# "Positioning" + Eval("PlayerId") %>' class="GridCellStyle">
                             <asp:Label ID="PositioningLabel" runat="server" Text='<%# Eval("Positioning") %>' ></asp:Label>
                         </div>
                    </ItemTemplate>
                </asp:TemplateField>   
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Label ID="PowerHeaderLabel" runat="server"  style="cursor:pointer;"
                        Text="<%$ Resources:Resource, TeamListOfPlayers_PowerHeaderLabel %>"
                        ToolTip="<%$ Resources:Resource, Global_Power %>"></asp:Label>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Label ID="PowerSortLabel" runat="server"
                         Text='<%# NumberStringCorrected(Eval("Power")) %>' style="display:none;"></asp:Label>
                         <div id='<%# "Power" + Eval("PlayerId") %>' class="GridCellStyle">
                             <asp:Label ID="PowerLabel" runat="server" Text='<%# Eval("Power") %>' ></asp:Label>
                         </div>
                    </ItemTemplate>
                </asp:TemplateField> 
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Label ID="TacklingHeaderLabel" runat="server"  style="cursor:pointer;"
                        Text="<%$ Resources:Resource, Global_TacklingHeader %>"
                        ToolTip="<%$ Resources:Resource, Global_Tackling %>"></asp:Label>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Label ID="TacklingSortLabel" runat="server"
                         Text='<%# NumberStringCorrected(Eval("Tackling")) %>' style="display:none;"></asp:Label>
                         <div id='<%# "Tackling" + Eval("PlayerId") %>' class="GridCellStyle">
                             <asp:Label ID="TacklingLabel" runat="server" Text='<%# Eval("Tackling") %>' ></asp:Label>
                         </div>
                    </ItemTemplate>
                </asp:TemplateField>  
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Label ID="HeadingHeaderLabel" runat="server"  style="cursor:pointer;"
                        Text="<%$ Resources:Resource, Global_HeadersTitleAbbreviation %>"
                        ToolTip="<%$ Resources:Resource, Global_Heading %>"></asp:Label>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Label ID="HeadingSortLabel" runat="server"
                         Text='<%# NumberStringCorrected(Eval("Heading")) %>' style="display:none;"></asp:Label>
                         <div id='<%# "Heading" + Eval("PlayerId") %>' class="GridCellStyle">
                             <asp:Label ID="HeadingLabel" runat="server" Text='<%# Eval("Heading") %>' ></asp:Label>
                         </div>
                    </ItemTemplate>
                </asp:TemplateField>  
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Label ID="QuicknessHeaderLabel" runat="server" style="cursor:pointer;" 
                        Text="<%$ Resources:Resource, TeamListOfPlayers_QuicknessHeaderLabel %>"
                        ToolTip="<%$ Resources:Resource, Global_Quickness %>"></asp:Label>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Label ID="QuicknessSortLabel" runat="server"
                         Text='<%# NumberStringCorrected(Eval("Quickness")) %>' style="display:none;"></asp:Label>
                         <div id='<%# "Quickness" + Eval("PlayerId") %>' class="GridCellStyle">
                             <asp:Label ID="QuicknessLabel" runat="server" Text='<%# Eval("Quickness") %>' ></asp:Label>
                         </div>
                    </ItemTemplate>
                </asp:TemplateField> 
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Label ID="TechniqueHeaderLabel" runat="server" style="cursor:pointer;" 
                        Text="<%$ Resources:Resource, Global_TechniqueHeader %>"
                        ToolTip="<%$ Resources:Resource, Global_Technique %>"></asp:Label>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Label ID="TechniqueSortLabel" runat="server"
                         Text='<%# NumberStringCorrected(Eval("Technique")) %>' style="display:none;"></asp:Label>
                         <div id='<%# "Technique" + Eval("PlayerId") %>' class="GridCellStyle">
                             <asp:Label ID="TechniqueLabel" runat="server" Text='<%# Eval("Technique") %>' ></asp:Label>
                         </div>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Label ID="ShortPassingHeaderLabel" runat="server" style="cursor:pointer;" 
                        Text="<%$ Resources:Resource, Global_ShortPassingHeader %>"
                        ToolTip="<%$ Resources:Resource, Global_ShortPassing %>"></asp:Label>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Label ID="ShortPassingSortLabel" runat="server"
                         Text='<%# NumberStringCorrected(Eval("ShortPassing")) %>' style="display:none;"></asp:Label>
                         <div id='<%# "ShortPassing" + Eval("PlayerId") %>' class="GridCellStyle">
                             <asp:Label ID="ShortPassingLabel" runat="server" Text='<%# Eval("ShortPassing") %>' ></asp:Label>
                         </div>
                    </ItemTemplate>
                </asp:TemplateField>  
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Label ID="LongPassingHeaderLabel" runat="server" style="cursor:pointer;" 
                        Text="<%$ Resources:Resource, Global_LongPassingHeader %>"
                        ToolTip="<%$ Resources:Resource, Global_LongPassing %>"></asp:Label>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Label ID="LongPassingSortLabel" runat="server"
                         Text='<%# NumberStringCorrected(Eval("LongPassing")) %>' style="display:none;"></asp:Label>
                         <div id='<%# "LongPassing" + Eval("PlayerId") %>' class="GridCellStyle">
                             <asp:Label ID="LongPassingLabel" runat="server" Text='<%# Eval("LongPassing") %>' ></asp:Label>
                         </div>
                    </ItemTemplate>
                </asp:TemplateField> 
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Label ID="ShootingHeaderLabel" runat="server" style="cursor:pointer;" 
                        Text="<%$ Resources:Resource, TeamListOfPlayers_ShootingLabel %>"
                        ToolTip="<%$ Resources:Resource, Global_Shooting %>"></asp:Label>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Label ID="ShootingSortLabel" runat="server"
                         Text='<%# NumberStringCorrected(Eval("Shooting")) %>' style="display:none;"></asp:Label>
                         <div id='<%# "Shooting" + Eval("PlayerId") %>' class="GridCellStyle">
                             <asp:Label ID="ShootingLabel" runat="server" Text='<%# Eval("Shooting") %>' ></asp:Label>
                         </div>
                    </ItemTemplate>
                </asp:TemplateField> 
                     
                    
            </Columns>                
        </asp:GridView>
        </div>
     </div>
        <script type="text/javascript" language="javascript">
            ShowHidePlayersColumns("AgeCheckBox");
            ShowHidePlayersColumns("CharismaCheckBox");
            ShowHidePlayersColumns("ExperienceCheckBox");
            ShowHidePlayersColumns("StrongFootCheckBox");
            ShowHidePlayersColumns("StaminaCheckBox");
            ShowHidePlayersColumns("InstinctsCheckBox");
            ShowHidePlayersColumns("GoalKeepingCheckBox");
            ShowHidePlayersColumns("PositioningCheckBox");
            ShowHidePlayersColumns("PowerCheckBox");
            ShowHidePlayersColumns("TacklingCheckBox");
            ShowHidePlayersColumns("HeadingCheckBox");
            ShowHidePlayersColumns("QuicknessCheckBox");
            ShowHidePlayersColumns("TechniqueCheckBox");
            ShowHidePlayersColumns("ShortPassingCheckBox");
            ShowHidePlayersColumns("LongPassingCheckBox");
            ShowHidePlayersColumns("ShootingCheckBox");
            
            
        </script>
     </div>
     <asp:Panel ID="PlayerAttrubutessPanel" runat="server">
    <asp:Repeater ID="PlayerAttributesRepeater" runat="server" DataSourceID="PlayersDataSourse">
    <ItemTemplate>
        <div id='<%# "attributes" + Eval("PlayerId") %>' class="attributesStyle basic_element padding5">
            <asp:Label ID="NumberLabel" runat="server" Text='<%# Eval("ShirtNumber") %>' CssClass="green_subinstructionlabel"></asp:Label>
            <asp:Label ID="playerNameLabel" runat="server" Text='<%# Eval("FullPlayerName") %>' CssClass="green_subinstructionlabel"></asp:Label>
            <br />
            <asp:Label ID="AgeLabel" runat="server" Text='<%# Eval("Age") %>' CssClass="reg_text"></asp:Label>
            
            <asp:Image ID="YeloowCardImage" runat="server" ImageUrl="~/Images/Icons/players_yellow.jpg" Visible='<%# Eval("OneYellowVisible") %>'/>
            <asp:Image ID="Yellow2CardImage" runat="server" ImageUrl="~/Images/Icons/players_yellow.jpg" Visible='<%# Eval("SecondYellowVisible") %>' />
            <asp:Image ID="RedImage" runat="server" ImageUrl="~/Images/Icons/players_red.jpg" Visible='<%# Eval("RedVisible") %>' />
            <asp:Image ID="InjuryImage" runat="server" ImageUrl='<%# InjuryIconName(Eval("InjuryRawData")) %>' Visible='<%# Eval("IsInjured") %>' />
                
            <asp:Label ID="BestPositionLabel" runat="server" Text='<%# Eval("BestPositions") %>' CssClass="reg_text"></asp:Label>
            <br /><br />
            
            <asp:Label ID="NoteTitleLabel" runat="server" Text="<%$ Resources:Resource, MatchInstructionsNew_NotecheckboxName %>" CssClass="reg_text"></asp:Label>
            <asp:Label ID="NoteLabel" runat="server" Text='<%# GetNivdalData.GetNivdalData.ReplaceLineBreaks(Eval("PrivateNote")) %>' CssClass="reg_text"></asp:Label>
            
            <table>
            <tr>
            <td>
                <asp:Label ID="ExperienceTitleLabel" runat="server" Text="<%$ Resources:Resource, Global_Experience %>" CssClass="reg_text"></asp:Label>
            </td>
            <td>
                <asp:Label ID="ExperienceLabel" runat="server" Text='<%# Eval("Experience") %>' CssClass="reg_text"></asp:Label>
            </td>
            </tr>
            <tr>
            <td>
                <asp:Label ID="CharismaTitleLabel" runat="server" Text="<%$ Resources:Resource, Global_Charisma %>" CssClass="reg_text"></asp:Label>
            </td>
            <td>
                <asp:Label ID="CharismaLabel" runat="server" Text='<%# Eval("Charisma") %>' CssClass="reg_text"></asp:Label>
            </td>
            </tr>
            <tr>
            <td>
                <asp:Label ID="FitnessTitleabel" runat="server" Text="<%$ Resources:Resource, Global_Fitness %>" CssClass="reg_text"></asp:Label>
            </td>
            <td>
                <asp:Label ID="FitnessLabel" runat="server" Text='<%# Eval("Fitness") %>' CssClass="reg_text"></asp:Label>
            </td>
            </tr>
            <tr>
            <td>
                <asp:Label ID="StrongFootTitleLabel" runat="server" Text="<%$ Resources:Resource, Global_StrongFoot %>" CssClass="reg_text"></asp:Label>
            </td>
            <td>
                <asp:Label ID="StrongFootLabel" runat="server" Text='<%# Eval("StrongFoot") %>' CssClass="reg_text"></asp:Label>
            </td>
            </tr>
            <tr>
            <td>
                <asp:Label ID="InstinctsTitleLabel" runat="server" Text="<%$ Resources:Resource, Global_Instincts %>" CssClass="reg_text"></asp:Label>
            </td>
            <td>
                <asp:Label ID="InstinctsLabel" runat="server" Text='<%# Eval("Instincts") %>' CssClass="reg_text"></asp:Label>
            </td>
            </tr>
            <tr>
            <td>
                <asp:Label ID="GoalKeepingHeaderLabel" runat="server" Text="<%$ Resources:Resource, Global_GoalKeeping %>" CssClass="reg_text"></asp:Label>
            </td>
            <td>
                <asp:Label ID="GoalKeepingLabel" runat="server" Text='<%# Eval("GoalKeeping") %>' CssClass="reg_text"></asp:Label>
            </td>
            </tr>
            <tr>
            <td>
                <asp:Label ID="PositioningHeaderLabel" runat="server" Text="<%$ Resources:Resource, Global_Positioning %>" CssClass="reg_text"></asp:Label>
            </td>
            <td>
                <asp:Label ID="PositioningLabel" runat="server" Text='<%# Eval("Positioning") %>' CssClass="reg_text"></asp:Label>
            </td>
            </tr>

            <tr>
            <td>
                <asp:Label ID="StaminaTitleLabel" runat="server" Text="<%$ Resources:Resource, Global_Stamina %>" CssClass="reg_text"></asp:Label>            
            </td>
            <td>
                <asp:Label ID="StaminaLabel" runat="server" Text='<%# Eval("Stamina") %>' CssClass="reg_text"></asp:Label>
            </td>
            </tr>
            <tr>
            <td>
                <asp:Label ID="PowerHeaderLabel" runat="server" Text="<%$ Resources:Resource, Global_Power %>" CssClass="reg_text"></asp:Label>
            </td>
            <td>
                <asp:Label ID="PowerLabel" runat="server" Text='<%# Eval("Power") %>' CssClass="reg_text"></asp:Label>
            </td>
            </tr>
            <tr>
            <td>
                <asp:Label ID="TacklingHeaderLabel" runat="server" Text="<%$ Resources:Resource, Global_Tackling %>" CssClass="reg_text"></asp:Label>
            </td>
            <td>
                <asp:Label ID="TacklingLabel" runat="server" Text='<%# Eval("Tackling") %>' CssClass="reg_text"></asp:Label>
            </td>
            </tr>
            <tr>
            <td>
                <asp:Label ID="HeadingHeaderLabel" runat="server" Text="<%$ Resources:Resource, Global_Heading %>" CssClass="reg_text"></asp:Label>
            </td>
            <td>
                <asp:Label ID="HeadingLabel" runat="server" Text='<%# Eval("Heading") %>' CssClass="reg_text" ></asp:Label>
            </td>
            </tr>
            <tr>
            <td>
                <asp:Label ID="QuicknessHeaderLabel" runat="server" Text="<%$ Resources:Resource, Global_Quickness %>" CssClass="reg_text"></asp:Label>
            </td>
            <td>
                <asp:Label ID="QuicknessLabel" runat="server" Text='<%# Eval("Quickness") %>' CssClass="reg_text"></asp:Label>
            </td>
            </tr>
            <tr>
            <td>
                <asp:Label ID="TechniqueHeaderLabel" runat="server" Text="<%$ Resources:Resource, Global_Technique %>" CssClass="reg_text"></asp:Label>
            </td>
            <td>
                <asp:Label ID="TechniqueLabel" runat="server" Text='<%# Eval("Technique") %>' CssClass="reg_text"></asp:Label>
            </td>
            </tr>
            <tr>
            <td>
                <asp:Label ID="ShortPassingHeaderLabel" runat="server" Text="<%$ Resources:Resource, Global_ShortPassing %>" CssClass="reg_text"></asp:Label>
            </td>
            <td>
                 <asp:Label ID="ShortPassingLabel" runat="server" Text='<%# Eval("ShortPassing") %>' CssClass="reg_text"></asp:Label>
            </td>
            </tr>
            <tr>
            <td>
                <asp:Label ID="LongPassingHeaderLabel" runat="server" Text="<%$ Resources:Resource, Global_LongPassing %>" CssClass="reg_text"></asp:Label>
            </td>
            <td>    
                 <asp:Label ID="LongPassingLabel" runat="server" Text='<%# Eval("LongPassing") %>' CssClass="reg_text"></asp:Label>
            </td>
            </tr>
            <tr>
            <td>
                <asp:Label ID="ShootingHeaderLabel" runat="server" Text="<%$ Resources:Resource, Global_Shooting %>" CssClass="reg_text"></asp:Label>
            </td>
            <td>
                <asp:Label ID="ShootingLabel" runat="server" Text='<%# Eval("Shooting") %>' CssClass="reg_text"></asp:Label>
            </td>
            </tr>
            </table>
            
           
        </div>
    </ItemTemplate>
    </asp:Repeater>
    </asp:Panel>
     </div>


    <asp:Repeater ID="InstructionsRepeater" runat="server" DataSourceID="GetInstructionDDLSqlDataSource">
    
    <ItemTemplate>
        <asp:HiddenField ID="InstructionName" runat="server" Value='<%# Eval("InstructionName") %>' />
    </ItemTemplate>    
    </asp:Repeater>
    <asp:Repeater ID="PreferredActionsRepeater" runat="server" DataSourceID="PreferredActionDDLSqlDataSource">
    <ItemTemplate>
        <asp:HiddenField ID="PreferredActionName" runat="server" Value='<%# Eval("ActionName") %>' />
    </ItemTemplate>
    </asp:Repeater>        
    <asp:Panel ID="LoadPreviousMatchInstructionsPanel" runat="server">
    <asp:Label ID="LoadPreviousMatchTitlelabel" runat="server" CssClass="mi_titleLabel"
    Text="<%$ Resources:Resource, MatchInstructions_LoadInstructionsFromLabelText %>"></asp:Label>
    <asp:DropDownList ID="PreviousMatchesDDL" AppendDataBoundItems="true" AutoPostBack="true"
        DataSourceID="PreviousMatchesDataSourse" DataTextField="MatchTitle" DataValueField="MatchId" Width="200"
        runat="server" OnSelectedIndexChanged="LoadPreviousInstructions" CssClass="rounded_corners mi_titleLabel">
    </asp:DropDownList> 
    </asp:Panel>
    
    <asp:Panel ID="DirectionLeftPanel" runat="server" Direction="LeftToRight">
    <div class="InstructionsArea floater">
    <div class="tbl"><div class="tblr"><div class="tblc align_center">
    <div class="tbl"><div class="tblr"><div class="tblc">
        <br /><br />
         <asp:Button ID="ClearAllButton" runat="server" Text="<%$ Resources:Resource, Training_ClearButtonText %>"
          CssClass="GreenSmallButtonStyle special_padding move_down" OnClientClick="ClearAll(); return (false);" /><br /><br />   
    </div><div class="tblc">
    </div>
    <div class="tblc"></div><div class="tblc">
        <br /><br />
        <asp:Label ID="TeamAttitudeLabel" runat="server" 
            Text="<%$ Resources:Resource, Global_Attitude %>" CssClass="mi_titleLabel"></asp:Label>
    
        <asp:DropDownList ID="TeamAttitudeDropDownList" AppendDataBoundItems="true" 
            DataSourceID="GetAttitudeDDLSqlDataSource" CssClass="rounded_corners mi_titleLabel" 
            DataTextField="AttitudeName" DataValueField="AttitudeId" runat="server"></asp:DropDownList>
        <br /><br />
    </div><div class="tblc">
        <br /><br />
        <asp:Label ID="TeamAggressivenessLabel" runat="server" 
        Text="<%$ Resources:Resource, Global_Aggressiveness %>" CssClass="mi_titleLabel"></asp:Label>
    
        <asp:DropDownList ID="TeamAggressivenessDropDownList" AppendDataBoundItems="true"
            DataSourceID="GetAggressivenessDDLSqlDataSource" DataTextField="AggressivenessName"
            DataValueField="AggressivenessId" runat="server" CssClass="rounded_corners mi_titleLabel"></asp:DropDownList>
        <br /><br />
    </div><div class="tblc">  
        <br /><br />      
        <asp:Label ID="FormationTitleLabel" runat="server" CssClass="formation_green move_down"
        Text="<%$ Resources:Resource, MatchInstructions_FormationTitleLabel %>"></asp:Label>
        <br /> 
        <asp:Label ID="FormationLabel" runat="server" CssClass="formation_red move_down"></asp:Label> 
    </div></div></div>
    </div></div></div>
    </div>
    <asp:HiddenField ID="ClearAllQuestionText" runat="server" Value="<%$ Resources:Resource, MatchInstructions_ClearAllAreYouSure %>" />

    <div class="clearBoth"></div>
    <br /><br /><br />
    
    <div class="FieldTableStyle floater">
        <div id="master_sp_c_div">
        <table>
            <tr>
            <td>
                <div id="MasterCaptainDiv"></div>
                <asp:HiddenField ID="CaptainHiddenField" runat="server" />                
            </td>
            <td>
                <asp:Label ID="CaptainTitleLabel" runat="server" CssClass="formation_red"
                Text="<%$ Resources:Resource, Global_Captain %>"></asp:Label>
            </td>
            </tr>
            <tr>
            <td>
                <div id="MasterSetPiecesDiv"></div>
                <asp:HiddenField ID="SetPiecesTakerHiddenField" runat="server" />
            </td>
            <td>
                <asp:Label ID="SetPiecesTakerLabel" runat="server" CssClass="formation_green"
                 Text="<%$ Resources:Resource, MatchInstructions_SetPiecesTakerLabel %>" ></asp:Label>
            </td>
            </tr>
        </table>  
        </div>
        <asp:HiddenField ID="LeftAttackPlayerIdHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="LeftAttackInjuredHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="LeftAttackInstructionHiddenField" runat="server" Value="2" />
        <asp:HiddenField ID="LeftAttackPreferredActionHiddenField" runat="server" Value="1" />
        <div id="LeftAttack" class="DroppableDivStyle" onmouseover="FieldDivOnMouseOver('LeftAttack')" onmouseout="FieldDivOnMouseOut('LeftAttack')" >
            <div class="vectors_container">
                <div id="LeftAttackCaptainImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
                <div id="LeftAttackSetPiecesTakerImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
                <div id="LeftAttackDragable" class="draggableStyle">
                    <asp:Label ID="LeftAttackPlayerName" runat="server"></asp:Label>
                </div>
            
            
            <div id="LeftAttackInstructions" class="instructions_rotation_attack"  >
                <table cellpadding="0" cellspacing="0" border="0" style="width:100%;">
                <tr style="height:25px;">
                <td style="width:40%; text-align:center; vertical-align:middle;">
                    <img id="LeftAttackInstructionsImage" alt="Instruction" 
                    src="Images/MatchInstructions/InstructionsUpDownArrow.png"
                    onclick="SwapInstruction('LeftAttack')"
                    style="cursor:pointer;"/>
                    <script language="javascript" type="text/javascript">
                        var Prefix = "ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_";
                        var Instruction = document.getElementById(Prefix + "LeftAttackInstructionHiddenField").value;

                        if (Instruction == "1") {
                            $("#LeftAttackInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsDownArrow.png");
                            $("#LeftAttackInstructionsImage").attr("title", GetInstructionName("1"));

                            $("#LeftAttack").css('top', "75px");
                            $("#LeftAttack").css('left', "56px");
                        }
                        else if (Instruction == "3") {
                            $("#LeftAttackInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsUpArrow.png");
                            $("#LeftAttackInstructionsImage").attr("title", GetInstructionName("3"));

                            $("#LeftAttack").css('top', "55px");
                            $("#LeftAttack").css('left', "28px");                     
                        }
                        else if (Instruction == "2") {
                            $("#LeftAttackInstructionsImage").attr("title", GetInstructionName("2"));
                            $("#LeftAttack").css('top', "65px");
                            $("#LeftAttack").css('left', "42px");
                        }
                                
                    </script>
                </td>
                <td style="width:60%; text-align:center; vertical-align:bottom;">
                
                    <img id="LeftAttackActionUpArrowImage" alt="up" 
                    src="Images/MatchInstructions/UpArrowGrey.png"
                    onmouseover="UpActionArrowHover('LeftAttack')"
                    onmouseout="UpActionArrowMouseOut('LeftAttack')"
                    onclick="UpActionArrowClick('LeftAttack')"
                    class="up_instruction_arrow"/>
                
                    <img id="LeftAttackActionLeftArrowImage" alt="l" 
                    src="Images/MatchInstructions/LeftArrowGrey.png"
                    onmouseover="LeftActionArrowHover('LeftAttack')"
                    onmouseout="LeftActionArrowMouseOut('LeftAttack')"
                    onclick="LeftActionArrowClick('LeftAttack')"
                    class="left_instruction_arrow" />
                
                    <label id="LeftAttackPreferredActionLabel" 
                    class="PreferredActionLabelStyle"
                    onclick="PreferredActionLableClick('LeftAttack')"></label>
                
                    <img id="LeftAttackActionRightArrowImage" alt="r" 
                    src="Images/MatchInstructions/RightArrowGrey.png"
                    onmouseover="RightActionArrowHover('LeftAttack')"
                    onmouseout="RightActionArrowMouseOut('LeftAttack')"
                    onclick="RightActionArrowClick('LeftAttack')"
                    class="right_instruction_arrow" />
                
                <script language="javascript" type="text/javascript">
                    InitPreferredActionArea("LeftAttack");
                </script>
                </td>
                </tr>
                </table>
                        
            </div>
            </div>
                         
            <script language="javascript" type="text/javascript">
                var PlayerId = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_LeftAttackPlayerIdHiddenField").value;
                if (PlayerId == "0") {
                    $("#LeftAttackDragable").hide();
                    $("#LeftAttackInstructions").hide();
                    $("#LeftAttack").removeClass("DroppableDivStyle");
                    $("#LeftAttack").addClass("DroppableDivStyleNoBG");
                }
                else {
                    HidePlayerRow(PlayerId);
                }
                            
                        
            </script> 
                    
        </div>

        <asp:HiddenField ID="LeftCenterAttackPlayerIdHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="LeftCenterAttackInjuredHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="LeftCenterAttackInstructionHiddenField" runat="server" Value="2" />
        <asp:HiddenField ID="LeftCenterAttackPreferredActionHiddenField" runat="server" Value="1" />

        <div id="LeftCenterAttack" class="DroppableDivStyle" onmouseover="FieldDivOnMouseOver('LeftCenterAttack')" onmouseout="FieldDivOnMouseOut('LeftCenterAttack')">
            <div class="vectors_container">
                <div id="LeftCenterAttackCaptainImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
                <div id="LeftCenterAttackSetPiecesTakerImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
                <div id="LeftCenterAttackDragable" class="draggableStyle">
                    <asp:Label ID="LeftCenterAttackPlayerName" runat="server"></asp:Label>
                </div>
                <div id="LeftCenterAttackInstructions" class="instructions_rotation_attack" >
                    <table cellpadding="0" cellspacing="0" border="0" style="width:100%;">
                    <tr style="height:25px;">
                    <td style="width:40%; text-align:center; vertical-align:middle;">
                        <img id="LeftCenterAttackInstructionsImage" alt="Instruction" 
                        src="Images/MatchInstructions/InstructionsUpDownArrow.png"
                        onclick="SwapInstruction('LeftCenterAttack')"
                        style="cursor:pointer;"/>
                        <script language="javascript" type="text/javascript">
                            var Prefix = "ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_";
                            var Instruction = document.getElementById(Prefix + "LeftCenterAttackInstructionHiddenField").value;
                            
                            if (Instruction == "1") {
                                $("#LeftCenterAttackInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsDownArrow.png");
                                $("#LeftCenterAttackInstructionsImage").attr("title", GetInstructionName("1"));

                                $("#LeftCenterAttack").css('top', "56px");
                                $("#LeftCenterAttack").css('left', "107px");
                            }
                            else if (Instruction == "3") {
                                $("#LeftCenterAttackInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsUpArrow.png");
                                $("#LeftCenterAttackInstructionsImage").attr("title", GetInstructionName("3"));

                                $("#LeftCenterAttack").css('top', "36px");
                                $("#LeftCenterAttack").css('left', "79px");
                            }
                            else if (Instruction == "2") {
                                $("#LeftCenterAttackInstructionsImage").attr("title", GetInstructionName("2"));

                                $("#LeftCenterAttack").css('top', "46px");
                                $("#LeftCenterAttack").css('left', "93px");
                            }
                                
                        </script>
                    </td>
                    <td style="width:60%; text-align:center; vertical-align:bottom;">
                    
                        <img id="LeftCenterAttackActionUpArrowImage" alt="up" 
                        src="Images/MatchInstructions/UpArrowGrey.png"
                        onmouseover="UpActionArrowHover('LeftCenterAttack')"
                        onmouseout="UpActionArrowMouseOut('LeftCenterAttack')"
                        onclick="UpActionArrowClick('LeftCenterAttack')"
                        class="up_instruction_arrow"/>
                    
                        <img id="LeftCenterAttackActionLeftArrowImage" alt="l" 
                        src="Images/MatchInstructions/LeftArrowGrey.png"
                        onmouseover="LeftActionArrowHover('LeftCenterAttack')"
                        onmouseout="LeftActionArrowMouseOut('LeftCenterAttack')"
                        onclick="LeftActionArrowClick('LeftCenterAttack')"
                        class="left_instruction_arrow"/>
                    
                        <label id="LeftCenterAttackPreferredActionLabel" 
                        class="PreferredActionLabelStyle"
                        onclick="PreferredActionLableClick('LeftCenterAttack')"></label>
                    
                        <img id="LeftCenterAttackActionRightArrowImage" alt="r" 
                        src="Images/MatchInstructions/RightArrowGrey.png"
                        onmouseover="RightActionArrowHover('LeftCenterAttack')"
                        onmouseout="RightActionArrowMouseOut('LeftCenterAttack')"
                        onclick="RightActionArrowClick('LeftCenterAttack')"
                        class="right_instruction_arrow" />
                    
                    <script language="javascript" type="text/javascript">
                        InitPreferredActionArea("LeftCenterAttack");
                    </script>
                    </td>
                    </tr>
                    </table>
                        
                </div>
            </div>
                         
            <script language="javascript" type="text/javascript">

                var PlayerId = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_LeftCenterAttackPlayerIdHiddenField").value;
                if (PlayerId == "0") {
                    $("#LeftCenterAttackDragable").hide();
                    $("#LeftCenterAttackInstructions").hide();
                    $("#LeftCenterAttack").removeClass("DroppableDivStyle");
                    $("#LeftCenterAttack").addClass("DroppableDivStyleNoBG");
                }
                else {
                    HidePlayerRow(PlayerId);
                }
                        
                        
            </script> 
                    
        </div>

        <asp:HiddenField ID="CenterAttackPlayerIdHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="CenterAttackInjuredHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="CenterAttackInstructionHiddenField" runat="server" Value="2" />
        <asp:HiddenField ID="CenterAttackPreferredActionHiddenField" runat="server" Value="1" />

        <div id="CenterAttack" class="DroppableDivStyle" onmouseover="FieldDivOnMouseOver('CenterAttack')" onmouseout="FieldDivOnMouseOut('CenterAttack')">
            <div id="CenterAttackCaptainImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="CenterAttackSetPiecesTakerImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="CenterAttackDragable" class="draggableStyle">
                <asp:Label ID="CenterAttackPlayerName" runat="server"></asp:Label>
            </div>
            
            <div id="CenterAttackInstructions"class="instructions_rotation_attack" >
                <table cellpadding="0" cellspacing="0" border="0" style="width:100%;">
                <tr style="height:25px;">
                <td style="width:40%; text-align:center; vertical-align:middle;">
                    <img id="CenterAttackInstructionsImage" alt="Instruction" 
                    src="Images/MatchInstructions/InstructionsUpDownArrow.png"
                    onclick="SwapInstruction('CenterAttack')"
                    style="cursor:pointer;"/>
                    <script language="javascript" type="text/javascript">
                        var Prefix = "ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_";
                        var Instruction = document.getElementById(Prefix + "CenterAttackInstructionHiddenField").value;

                        if (Instruction == "1") {
                            $("#CenterAttackInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsDownArrow.png");
                            $("#CenterAttackInstructionsImage").attr("title", GetInstructionName("1"));
                            $("#CenterAttack").css('top', "36px");
                            $("#CenterAttack").css('left', "162px");
                        }
                        else if (Instruction == "3") {
                            $("#CenterAttackInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsUpArrow.png");
                            $("#CenterAttackInstructionsImage").attr("title", GetInstructionName("3"));
                            $("#CenterAttack").css('top', "16px");
                            $("#CenterAttack").css('left', "134px");
                        }
                        else if (Instruction == "2") {
                            $("#CenterAttackInstructionsImage").attr("title", GetInstructionName("2"));

                            $("#CenterAttack").css('top', "26px");
                            $("#CenterAttack").css('left', "148px");
                        }
                                
                    </script>
                </td>
                <td style="width:60%; text-align:center; vertical-align:bottom;">
                
                    <img id="CenterAttackActionUpArrowImage" alt="up" 
                    src="Images/MatchInstructions/UpArrowGrey.png"
                    onmouseover="UpActionArrowHover('CenterAttack')"
                    onmouseout="UpActionArrowMouseOut('CenterAttack')"
                    onclick="UpActionArrowClick('CenterAttack')"
                    class="up_instruction_arrow" />
                
                    <img id="CenterAttackActionLeftArrowImage" alt="l" 
                    src="Images/MatchInstructions/LeftArrowGrey.png"
                    onmouseover="LeftActionArrowHover('CenterAttack')"
                    onmouseout="LeftActionArrowMouseOut('CenterAttack')"
                    onclick="LeftActionArrowClick('CenterAttack')"
                    class="left_instruction_arrow" />
                
                    <label id="CenterAttackPreferredActionLabel" 
                    class="PreferredActionLabelStyle"
                    onclick="PreferredActionLableClick('CenterAttack')"></label>
                
                    <img id="CenterAttackActionRightArrowImage" alt="r" 
                    src="Images/MatchInstructions/RightArrowGrey.png"
                    onmouseover="RightActionArrowHover('CenterAttack')"
                    onmouseout="RightActionArrowMouseOut('CenterAttack')"
                    onclick="RightActionArrowClick('CenterAttack')"
                    class="right_instruction_arrow" />
                
                <script language="javascript" type="text/javascript">
                    InitPreferredActionArea("CenterAttack");
                </script>
                </td>
                </tr>
                </table>
                        
            </div>
                         
            <script language="javascript" type="text/javascript">

                var PlayerId = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_CenterAttackPlayerIdHiddenField").value;
                if (PlayerId == "0") {
                    $("#CenterAttackDragable").hide();
                    $("#CenterAttackInstructions").hide();
                    $("#CenterAttack").removeClass("DroppableDivStyle");
                    $("#CenterAttack").addClass("DroppableDivStyleNoBG");
                }
                else {
                    HidePlayerRow(PlayerId);
                }
                       
                        
            </script> 
                    
        </div>  

        <asp:HiddenField ID="RightCenterAttackPlayerIdHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="RightCenterAttackInjuredHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="RightCenterAttackInstructionHiddenField" runat="server" Value="2" />
        <asp:HiddenField ID="RightCenterAttackPreferredActionHiddenField" runat="server" Value="1" />
        <div id="RightCenterAttack" class="DroppableDivStyle" onmouseover="FieldDivOnMouseOver('RightCenterAttack')" onmouseout="FieldDivOnMouseOut('RightCenterAttack')">
            <div id="RightCenterAttackCaptainImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="RightCenterAttackSetPiecesTakerImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="RightCenterAttackDragable" class="draggableStyle">
                <asp:Label ID="RightCenterAttackPlayerName" runat="server"></asp:Label>
            </div>
            <div id="RightCenterAttackInstructions" class="instructions_rotation_attack" >
                <table cellpadding="0" cellspacing="0" border="0" style="width:100%;">
                <tr style="height:25px;">
                <td style="width:40%; text-align:center; vertical-align:middle;">
                    <img id="RightCenterAttackInstructionsImage" alt="Instruction" 
                    src="Images/MatchInstructions/InstructionsUpDownArrow.png"
                    onclick="SwapInstruction('RightCenterAttack')"
                    style="cursor:pointer;"/>
                    <script language="javascript" type="text/javascript">
                        var Prefix = "ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_";
                        var Instruction = document.getElementById(Prefix + "RightCenterAttackInstructionHiddenField").value;

                        if (Instruction == "1") {
                            $("#RightCenterAttackInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsDownArrow.png");
                            $("#RightCenterAttackInstructionsImage").attr("title", GetInstructionName("1"));
                            $("#RightCenterAttack").css('top', "16px");
                            $("#RightCenterAttack").css('left', "216px");
                        }
                        else if (Instruction == "3") {
                            $("#RightCenterAttackInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsUpArrow.png");
                            $("#RightCenterAttackInstructionsImage").attr("title", GetInstructionName("3"));
                            $("#RightCenterAttack").css('top', "-4px");
                            $("#RightCenterAttack").css('left', "188px");
                        }
                        else if (Instruction == "2") {
                            $("#RightCenterAttackInstructionsImage").attr("title", GetInstructionName("2"));
                            $("#RightCenterAttack").css('top', "6px");
                            $("#RightCenterAttack").css('left', "202px");
                        }
                                
                    </script>
                </td>
                <td style="width:60%; text-align:center; vertical-align:bottom;">
                
                    <img id="RightCenterAttackActionUpArrowImage" alt="up" 
                    src="Images/MatchInstructions/UpArrowGrey.png"
                    onmouseover="UpActionArrowHover('RightCenterAttack')"
                    onmouseout="UpActionArrowMouseOut('RightCenterAttack')"
                    onclick="UpActionArrowClick('RightCenterAttack')"
                    class="up_instruction_arrow" />
                
                    <img id="RightCenterAttackActionLeftArrowImage" alt="l" 
                    src="Images/MatchInstructions/LeftArrowGrey.png"
                    onmouseover="LeftActionArrowHover('RightCenterAttack')"
                    onmouseout="LeftActionArrowMouseOut('RightCenterAttack')"
                    onclick="LeftActionArrowClick('RightCenterAttack')"
                    class="left_instruction_arrow" />
                
                    <label id="RightCenterAttackPreferredActionLabel" 
                    class="PreferredActionLabelStyle"
                    onclick="PreferredActionLableClick('RightCenterAttack')"></label>
                
                    <img id="RightCenterAttackActionRightArrowImage" alt="r" 
                    src="Images/MatchInstructions/RightArrowGrey.png"
                    onmouseover="RightActionArrowHover('RightCenterAttack')"
                    onmouseout="RightActionArrowMouseOut('RightCenterAttack')"
                    onclick="RightActionArrowClick('RightCenterAttack')"
                    class="right_instruction_arrow"/>
                
                <script language="javascript" type="text/javascript">
                    InitPreferredActionArea("RightCenterAttack");
                </script>
                </td>
                </tr>
                </table>
                        
            </div>
                         
            <script language="javascript" type="text/javascript">

                var PlayerId = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_RightCenterAttackPlayerIdHiddenField").value;
                if (PlayerId == "0") {
                    $("#RightCenterAttackDragable").hide();
                    $("#RightCenterAttackInstructions").hide();
                    $("#RightCenterAttack").removeClass("DroppableDivStyle");
                    $("#RightCenterAttack").addClass("DroppableDivStyleNoBG");
                }
                else {
                    HidePlayerRow(PlayerId);
                }
                        
                        
            </script> 
                    
        </div>
    
        <asp:HiddenField ID="RightAttackPlayerIdHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="RightAttackInjuredHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="RightAttackInstructionHiddenField" runat="server" Value="2" />
        <asp:HiddenField ID="RightAttackPreferredActionHiddenField" runat="server" Value="1" />
        <div id="RightAttack" class="DroppableDivStyle" onmouseover="FieldDivOnMouseOver('RightAttack')" onmouseout="FieldDivOnMouseOut('RightAttack')">
            <div id="RightAttackCaptainImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="RightAttackSetPiecesTakerImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="RightAttackDragable" class="draggableStyle">
                <asp:Label ID="RightAttackPlayerName" runat="server"></asp:Label>
            </div>
            
            <div id="RightAttackInstructions" class="instructions_rotation_attack" >
                <table cellpadding="0" cellspacing="0" border="0" style="width:100%;">
                <tr style="height:25px;">
                <td style="width:40%; text-align:center; vertical-align:middle;">
                    <img id="RightAttackInstructionsImage" alt="Instruction" 
                    src="Images/MatchInstructions/InstructionsUpDownArrow.png"
                    onclick="SwapInstruction('RightAttack')"
                    style="cursor:pointer;"/>
                    <script language="javascript" type="text/javascript">
                        var Prefix = "ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_";
                        var Instruction = document.getElementById(Prefix + "RightAttackInstructionHiddenField").value;

                        if (Instruction == "1") {
                            $("#RightAttackInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsDownArrow.png");
                            $("#RightAttackInstructionsImage").attr("title", GetInstructionName("1"));
                            $("#RightAttack").css('top', "-3px");
                            $("#RightAttack").css('left', "280px");
                        }
                        else if (Instruction == "3") {
                            $("#RightAttackInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsUpArrow.png");
                            $("#RightAttackInstructionsImage").attr("title", GetInstructionName("3"));
                            $("#RightAttack").css('top', "-23px");
                            $("#RightAttack").css('left', "240px");
                        }
                        else if (Instruction == "2") {
                            $("#RightAttackInstructionsImage").attr("title", GetInstructionName("2"));

                            $("#RightAttack").css('top', "-13px");
                            $("#RightAttack").css('left', "254px");
                        }
                                
                    </script>
                </td>
                <td style="width:60%; text-align:center; vertical-align:bottom;">
                
                    <img id="RightAttackActionUpArrowImage" alt="up" 
                    src="Images/MatchInstructions/UpArrowGrey.png"
                    onmouseover="UpActionArrowHover('RightAttack')"
                    onmouseout="UpActionArrowMouseOut('RightAttack')"
                    onclick="UpActionArrowClick('RightAttack')"
                    class="up_instruction_arrow" />
                
                    <img id="RightAttackActionLeftArrowImage" alt="l" 
                    src="Images/MatchInstructions/LeftArrowGrey.png"
                    onmouseover="LeftActionArrowHover('RightAttack')"
                    onmouseout="LeftActionArrowMouseOut('RightAttack')"
                    onclick="LeftActionArrowClick('RightAttack')"
                    class="left_instruction_arrow" />
                
                    <label id="RightAttackPreferredActionLabel" 
                    class="PreferredActionLabelStyle"
                    onclick="PreferredActionLableClick('RightAttack')"></label>
                
                    <img id="RightAttackActionRightArrowImage" alt="r" 
                    src="Images/MatchInstructions/RightArrowGrey.png"
                    onmouseover="RightActionArrowHover('RightAttack')"
                    onmouseout="RightActionArrowMouseOut('RightAttack')"
                    onclick="RightActionArrowClick('RightAttack')"
                    class="right_instruction_arrow" />
                
                <script language="javascript" type="text/javascript">
                    InitPreferredActionArea("RightAttack");
                </script>
                </td>
                </tr>
                </table>
                        
            </div>
            <script language="javascript" type="text/javascript">

                var PlayerId = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_RightAttackPlayerIdHiddenField").value;
                if (PlayerId == "0") {
                    $("#RightAttackDragable").hide();
                    $("#RightAttackInstructions").hide();
                    $("#RightAttack").removeClass("DroppableDivStyle");
                    $("#RightAttack").addClass("DroppableDivStyleNoBG");
                }
                else {
                    HidePlayerRow(PlayerId);
                }
                        
                        
            </script> 
                    
        </div>
            
        <asp:HiddenField ID="LeftMidfieldPlayerIdHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="LeftMidfieldInjuredHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="LeftMidfieldInstructionHiddenField" runat="server" Value="2" />
        <asp:HiddenField ID="LeftMidfieldPreferredActionHiddenField" runat="server" Value="1" />
        <div id="LeftMidfield" class="DroppableDivStyle" onmouseover="FieldDivOnMouseOver('LeftMidfield')" onmouseout="FieldDivOnMouseOut('LeftMidfield')">
            <div id="LeftMidfieldCaptainImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="LeftMidfieldSetPiecesTakerImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="LeftMidfieldDragable" class="draggableStyle">
                <asp:Label ID="LeftMidfieldPlayerName" runat="server"></asp:Label>
            </div>
            <div id="LeftMidfieldInstructions" class="instructions_rotation_mid" >
                <table cellpadding="0" cellspacing="0" border="0" style="width:100%;">
                <tr style="height:25px;">
                <td style="width:40%; text-align:center; vertical-align:middle;">
                    <img id="LeftMidfieldInstructionsImage" alt="Instruction" 
                    src="Images/MatchInstructions/InstructionsUpDownArrow.png"
                    onclick="SwapInstruction('LeftMidfield')"
                    style="cursor:pointer;"/>
                    <script language="javascript" type="text/javascript">
                        var Prefix = "ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_";
                        var Instruction = document.getElementById(Prefix + "LeftMidfieldInstructionHiddenField").value;

                        if (Instruction == "1") {
                            $("#LeftMidfieldInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsDownArrow.png");
                            $("#LeftMidfieldInstructionsImage").attr("title", GetInstructionName("1"));
                            $("#LeftMidfield").css('top', "150px");
                            $("#LeftMidfield").css('left', "180px");
                        }
                        else if (Instruction == "3") {
                            $("#LeftMidfieldInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsUpArrow.png");
                            $("#LeftMidfieldInstructionsImage").attr("title", GetInstructionName("3"));
                            $("#LeftMidfield").css('top', "130px");
                            $("#LeftMidfield").css('left', "152px");
                        }
                        else if (Instruction == "2") {
                            $("#LeftMidfieldInstructionsImage").attr("title", GetInstructionName("2"));
                            $("#LeftMidfield").css('top', "140px");
                            $("#LeftMidfield").css('left', "166px");
                        }
                                
                    </script>
                </td>
                <td style="width:60%; text-align:center; vertical-align:bottom;">
                
                    <img id="LeftMidfieldActionUpArrowImage" alt="up" 
                    src="Images/MatchInstructions/UpArrowGrey.png"
                    onmouseover="UpActionArrowHover('LeftMidfield')"
                    onmouseout="UpActionArrowMouseOut('LeftMidfield')"
                    onclick="UpActionArrowClick('LeftMidfield')"
                    class="up_instruction_arrow" />
                
                    <img id="LeftMidfieldActionLeftArrowImage" alt="l" 
                    src="Images/MatchInstructions/LeftArrowGrey.png"
                    onmouseover="LeftActionArrowHover('LeftMidfield')"
                    onmouseout="LeftActionArrowMouseOut('LeftMidfield')"
                    onclick="LeftActionArrowClick('LeftMidfield')"
                    class="left_instruction_arrow" />
                
                    <label id="LeftMidfieldPreferredActionLabel" 
                    class="PreferredActionLabelStyle"
                    onclick="PreferredActionLableClick('LeftMidfield')"></label>
               
                    <img id="LeftMidfieldActionRightArrowImage" alt="r" 
                    src="Images/MatchInstructions/RightArrowGrey.png"
                    onmouseover="RightActionArrowHover('LeftMidfield')"
                    onmouseout="RightActionArrowMouseOut('LeftMidfield')"
                    onclick="RightActionArrowClick('LeftMidfield')"
                    class="right_instruction_arrow" />
                
                <script language="javascript" type="text/javascript">
                    InitPreferredActionArea("LeftMidfield");
                </script>
                </td>
                </tr>
                </table>
                        
            </div>
                                    
            <script language="javascript" type="text/javascript">

                var PlayerId = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_LeftMidfieldPlayerIdHiddenField").value;
                if (PlayerId == "0") {
                    $("#LeftMidfieldDragable").hide();
                    $("#LeftMidfieldInstructions").hide();
                    $("#LeftMidfield").removeClass("DroppableDivStyle");
                    $("#LeftMidfield").addClass("DroppableDivStyleNoBG");
                }
                else {
                    HidePlayerRow(PlayerId);
                }
                        
                        
            </script> 
                    
        </div>

        <asp:HiddenField ID="LeftCenterMidfieldPlayerIdHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="LeftCenterMidfieldInjuredHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="LeftCenterMidfieldInstructionHiddenField" runat="server" Value="2" />
        <asp:HiddenField ID="LeftCenterMidfieldPreferredActionHiddenField" runat="server" Value="1" />
        <div id="LeftCenterMidfield" class="DroppableDivStyle" onmouseover="FieldDivOnMouseOver('LeftCenterMidfield')" onmouseout="FieldDivOnMouseOut('LeftCenterMidfield')">
            <div id="LeftCenterMidfieldCaptainImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="LeftCenterMidfieldSetPiecesTakerImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="LeftCenterMidfieldDragable" class="draggableStyle">
                <asp:Label ID="LeftCenterMidfieldPlayerName" runat="server"></asp:Label>
            </div>
            <div id="LeftCenterMidfieldInstructions" class="instructions_rotation_mid" >
                <table cellpadding="0" cellspacing="0" border="0" style="width:100%;">
                <tr style="height:25px;">
                <td style="width:40%; text-align:center; vertical-align:middle;">
                    <img id="LeftCenterMidfieldInstructionsImage" alt="Instruction" 
                    src="Images/MatchInstructions/InstructionsUpDownArrow.png"
                    onclick="SwapInstruction('LeftCenterMidfield')"
                    style="cursor:pointer;"/>
                    <script language="javascript" type="text/javascript">
                        var Prefix = "ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_";
                        var Instruction = document.getElementById(Prefix + "LeftCenterMidfieldInstructionHiddenField").value;

                        if (Instruction == "1") {
                            $("#LeftCenterMidfieldInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsDownArrow.png");
                            $("#LeftCenterMidfieldInstructionsImage").attr("title", GetInstructionName("1"));
                            $("#LeftCenterMidfield").css('top', "124px");
                            $("#LeftCenterMidfield").css('left', "232px");
                        }
                        else if (Instruction == "3") {
                            $("#LeftCenterMidfieldInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsUpArrow.png");
                            $("#LeftCenterMidfieldInstructionsImage").attr("title", GetInstructionName("3"));
                            $("#LeftCenterMidfield").css('top', "104px");
                            $("#LeftCenterMidfield").css('left', "204px");
                        }
                        else if (Instruction == "2") {
                            $("#LeftCenterMidfieldInstructionsImage").attr("title", GetInstructionName("2"));
                            $("#LeftCenterMidfield").css('top', "114px");
                            $("#LeftCenterMidfield").css('left', "218px");
                        }
                                
                    </script>
                </td>
                <td style="width:60%; text-align:center; vertical-align:bottom;">
                
                    <img id="LeftCenterMidfieldActionUpArrowImage" alt="up" 
                    src="Images/MatchInstructions/UpArrowGrey.png"
                    onmouseover="UpActionArrowHover('LeftCenterMidfield')"
                    onmouseout="UpActionArrowMouseOut('LeftCenterMidfield')"
                    onclick="UpActionArrowClick('LeftCenterMidfield')"
                    class="up_instruction_arrow" />
                
                    <img id="LeftCenterMidfieldActionLeftArrowImage" alt="l" 
                    src="Images/MatchInstructions/LeftArrowGrey.png"
                    onmouseover="LeftActionArrowHover('LeftCenterMidfield')"
                    onmouseout="LeftActionArrowMouseOut('LeftCenterMidfield')"
                    onclick="LeftActionArrowClick('LeftCenterMidfield')"
                    class="left_instruction_arrow" />
                
                    <label id="LeftCenterMidfieldPreferredActionLabel" 
                    class="PreferredActionLabelStyle"
                    onclick="PreferredActionLableClick('LeftCenterMidfield')"></label>
                
                    <img id="LeftCenterMidfieldActionRightArrowImage" alt="r" 
                    src="Images/MatchInstructions/RightArrowGrey.png"
                    onmouseover="RightActionArrowHover('LeftCenterMidfield')"
                    onmouseout="RightActionArrowMouseOut('LeftCenterMidfield')"
                    onclick="RightActionArrowClick('LeftCenterMidfield')"
                    class="right_instruction_arrow" />
                </td>                        
                </tr>
                </table>
                <script language="javascript" type="text/javascript">
                    InitPreferredActionArea("LeftCenterMidfield");
                </script>
               
                        
            </div>
                                    
            <script language="javascript" type="text/javascript">

                var PlayerId = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_LeftCenterMidfieldPlayerIdHiddenField").value;
                if (PlayerId == "0") {
                    $("#LeftCenterMidfieldDragable").hide();
                    $("#LeftCenterMidfieldInstructions").hide();
                    $("#LeftCenterMidfield").removeClass("DroppableDivStyle");
                    $("#LeftCenterMidfield").addClass("DroppableDivStyleNoBG");
                }
                else {
                    HidePlayerRow(PlayerId);
                }
                        
                        
            </script> 
                    
        </div>

        <asp:HiddenField ID="CenterMidfieldPlayerIdHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="CenterMidfieldInjuredHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="CenterMidfieldInstructionHiddenField" runat="server" Value="2" />
        <asp:HiddenField ID="CenterMidfieldPreferredActionHiddenField" runat="server" Value="1" />
        <div id="CenterMidfield" class="DroppableDivStyle" onmouseover="FieldDivOnMouseOver('CenterMidfield')" onmouseout="FieldDivOnMouseOut('CenterMidfield')">
            <div id="CenterMidfieldCaptainImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="CenterMidfieldSetPiecesTakerImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="CenterMidfieldDragable" class="draggableStyle">
                <asp:Label ID="CenterMidfieldPlayerName" runat="server"></asp:Label>
            </div>
            <div id="CenterMidfieldInstructions" class="instructions_rotation_mid" >
                <table cellpadding="0" cellspacing="0" border="0" style="width:100%;">
                <tr style="height:25px;">
                <td style="width:40%; text-align:center; vertical-align:middle;">
                    <img id="CenterMidfieldInstructionsImage" alt="Instruction" 
                    src="Images/MatchInstructions/InstructionsUpDownArrow.png"
                    onclick="SwapInstruction('CenterMidfield')"
                    style="cursor:pointer;"/>
                    <script language="javascript" type="text/javascript">
                        var Prefix = "ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_";
                        var Instruction = document.getElementById(Prefix + "CenterMidfieldInstructionHiddenField").value;

                        if (Instruction == "1") {
                            $("#CenterMidfieldInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsDownArrow.png");
                            $("#CenterMidfieldInstructionsImage").attr("title", GetInstructionName("1"));
                            $("#CenterMidfield").css('top', "97px");
                            $("#CenterMidfield").css('left', "286px");
                        }
                        else if (Instruction == "3") {
                            $("#CenterMidfieldInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsUpArrow.png");
                            $("#CenterMidfieldInstructionsImage").attr("title", GetInstructionName("3")); 
                            $("#CenterMidfield").css('top', "77px");
                            $("#CenterMidfield").css('left', "258px");
                        }
                        else if (Instruction == "2") {
                            $("#CenterMidfieldInstructionsImage").attr("title", GetInstructionName("2"));
                            $("#CenterMidfield").css('top', "87px");
                            $("#CenterMidfield").css('left', "272px");
                        }
                                
                    </script>
                </td>
                <td style="width:60%; text-align:center; vertical-align:bottom;">
                
                    <img id="CenterMidfieldActionUpArrowImage" alt="up" 
                    src="Images/MatchInstructions/UpArrowGrey.png"
                    onmouseover="UpActionArrowHover('CenterMidfield')"
                    onmouseout="UpActionArrowMouseOut('CenterMidfield')"
                    onclick="UpActionArrowClick('CenterMidfield')"
                    class="up_instruction_arrow" />
                
                    <img id="CenterMidfieldActionLeftArrowImage" alt="l" 
                    src="Images/MatchInstructions/LeftArrowGrey.png"
                    onmouseover="LeftActionArrowHover('CenterMidfield')"
                    onmouseout="LeftActionArrowMouseOut('CenterMidfield')"
                    onclick="LeftActionArrowClick('CenterMidfield')"
                    class="left_instruction_arrow" />
                
                    <label id="CenterMidfieldPreferredActionLabel" 
                    class="PreferredActionLabelStyle"
                    onclick="PreferredActionLableClick('CenterMidfield')"></label>
                
                    <img id="CenterMidfieldActionRightArrowImage" alt="r" 
                    src="Images/MatchInstructions/RightArrowGrey.png"
                    onmouseover="RightActionArrowHover('CenterMidfield')"
                    onmouseout="RightActionArrowMouseOut('CenterMidfield')"
                    onclick="RightActionArrowClick('CenterMidfield')"
                    class="right_instruction_arrow" />
                </td>                        
                </tr>
                </table>
                <script language="javascript" type="text/javascript">
                    InitPreferredActionArea("CenterMidfield");
                </script>
                
                        
            </div>
                                     
            <script language="javascript" type="text/javascript">

                var PlayerId = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_CenterMidfieldPlayerIdHiddenField").value;
                if (PlayerId == "0") {
                    $("#CenterMidfieldDragable").hide();
                    $("#CenterMidfieldInstructions").hide();
                    $("#CenterMidfield").removeClass("DroppableDivStyle");
                    $("#CenterMidfield").addClass("DroppableDivStyleNoBG");
                }
                else {
                    HidePlayerRow(PlayerId);
                }
                        
                        
            </script> 
                    
        </div>

        <asp:HiddenField ID="RightCenterMidfieldPlayerIdHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="RightCenterMidfieldInjuredHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="RightCenterMidfieldInstructionHiddenField" runat="server" Value="2" />
        <asp:HiddenField ID="RightCenterMidfieldPreferredActionHiddenField" runat="server" Value="1" />
        <div id="RightCenterMidfield" class="DroppableDivStyle" onmouseover="FieldDivOnMouseOver('RightCenterMidfield')" onmouseout="FieldDivOnMouseOut('RightCenterMidfield')">
            <div id="RightCenterMidfieldCaptainImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="RightCenterMidfieldSetPiecesTakerImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="RightCenterMidfieldDragable" class="draggableStyle">
                <asp:Label ID="RightCenterMidfieldPlayerName" runat="server"></asp:Label>
            </div>
            <div id="RightCenterMidfieldInstructions" class="instructions_rotation_mid" >
                <table cellpadding="0" cellspacing="0" border="0" style="width:100%;">
                <tr style="height:25px;">
                <td style="width:40%; text-align:center; vertical-align:middle;">
                    <img id="RightCenterMidfieldInstructionsImage" alt="Instruction" 
                    src="Images/MatchInstructions/InstructionsUpDownArrow.png"
                    onclick="SwapInstruction('RightCenterMidfield')"
                    style="cursor:pointer;"/>
                    <script language="javascript" type="text/javascript">
                        var Prefix = "ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_";
                        var Instruction = document.getElementById(Prefix + "RightCenterMidfieldInstructionHiddenField").value;

                        if (Instruction == "1") {
                            $("#RightCenterMidfieldInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsDownArrow.png");
                            $("#RightCenterMidfieldInstructionsImage").attr("title", GetInstructionName("1"));
                            $("#RightCenterMidfield").css('top', "72px");
                            $("#RightCenterMidfield").css('left', "342px");
                        }
                        else if (Instruction == "3") {
                            $("#RightCenterMidfieldInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsUpArrow.png");
                            $("#RightCenterMidfieldInstructionsImage").attr("title", GetInstructionName("3"));
                            $("#RightCenterMidfield").css('top', "52px");
                            $("#RightCenterMidfield").css('left', "314px");
                        }
                        else if (Instruction == "2") {
                            $("#RightCenterMidfieldInstructionsImage").attr("title", GetInstructionName("2"));
                            $("#RightCenterMidfield").css('top', "62px");
                            $("#RightCenterMidfield").css('left', "328px");
                        }
                                
                    </script>
                </td>
                <td style="width:60%; text-align:center; vertical-align:bottom;">
                
                    <img id="RightCenterMidfieldActionUpArrowImage" alt="up" 
                    src="Images/MatchInstructions/UpArrowGrey.png"
                    onmouseover="UpActionArrowHover('RightCenterMidfield')"
                    onmouseout="UpActionArrowMouseOut('RightCenterMidfield')"
                    onclick="UpActionArrowClick('RightCenterMidfield')"
                    class="up_instruction_arrow"/>
                
                    <img id="RightCenterMidfieldActionLeftArrowImage" alt="l" 
                    src="Images/MatchInstructions/LeftArrowGrey.png"
                    onmouseover="LeftActionArrowHover('RightCenterMidfield')"
                    onmouseout="LeftActionArrowMouseOut('RightCenterMidfield')"
                    onclick="LeftActionArrowClick('RightCenterMidfield')"
                    class="left_instruction_arrow" />
                
                    <label id="RightCenterMidfieldPreferredActionLabel" 
                    class="PreferredActionLabelStyle"
                    onclick="PreferredActionLableClick('RightCenterMidfield')"></label>
                
                    <img id="RightCenterMidfieldActionRightArrowImage" alt="r" 
                    src="Images/MatchInstructions/RightArrowGrey.png"
                    onmouseover="RightActionArrowHover('RightCenterMidfield')"
                    onmouseout="RightActionArrowMouseOut('RightCenterMidfield')"
                    onclick="RightActionArrowClick('RightCenterMidfield')"
                    class="right_instruction_arrow" />
                </td>                        
                </tr>
                </table>
                <script language="javascript" type="text/javascript">
                    InitPreferredActionArea("RightCenterMidfield");
                </script>
                
                        
            </div>
            
                         
            <script language="javascript" type="text/javascript">

                var PlayerId = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_RightCenterMidfieldPlayerIdHiddenField").value;
                if (PlayerId == "0") {
                    $("#RightCenterMidfieldDragable").hide();
                    $("#RightCenterMidfieldInstructions").hide();
                    $("#RightCenterMidfield").removeClass("DroppableDivStyle");
                    $("#RightCenterMidfield").addClass("DroppableDivStyleNoBG");
                }
                else {
                    HidePlayerRow(PlayerId);
                }
                        
                        
            </script> 
                    
        </div>

        <asp:HiddenField ID="RightMidfieldPlayerIdHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="RightMidfieldInjuredHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="RightMidfieldInstructionHiddenField" runat="server" Value="2" />
        <asp:HiddenField ID="RightMidfieldPreferredActionHiddenField" runat="server" Value="1" />
        <div id="RightMidfield" class="DroppableDivStyle" onmouseover="FieldDivOnMouseOver('RightMidfield')" onmouseout="FieldDivOnMouseOut('RightMidfield')">
            <div id="RightMidfieldCaptainImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="RightMidfieldSetPiecesTakerImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="RightMidfieldDragable" class="draggableStyle">
                <asp:Label ID="RightMidfieldPlayerName" runat="server"></asp:Label>
            </div>
            
            <div id="RightMidfieldInstructions" class="instructions_rotation_mid" >
                <table cellpadding="0" cellspacing="0" border="0" style="width:100%;">
                <tr style="height:25px;">
                <td style="width:40%; text-align:center; vertical-align:middle;">
                    <img id="RightMidfieldInstructionsImage" alt="Instruction" 
                    src="Images/MatchInstructions/InstructionsUpDownArrow.png"
                    onclick="SwapInstruction('RightMidfield')"
                    style="cursor:pointer;"/>
                    <script language="javascript" type="text/javascript">
                        var Prefix = "ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_";
                        var Instruction = document.getElementById(Prefix + "RightMidfieldInstructionHiddenField").value;

                        if (Instruction == "1") {
                            $("#RightMidfieldInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsDownArrow.png");
                            $("#RightMidfieldInstructionsImage").attr("title", GetInstructionName("1"));
                            $("#RightMidfield").css('top', "44px");
                            $("#RightMidfield").css('left', "392px");
                        }
                        else if (Instruction == "3") {
                            $("#RightMidfieldInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsUpArrow.png");
                            $("#RightMidfieldInstructionsImage").attr("title", GetInstructionName("3"));
                            $("#RightMidfield").css('top', "24px");
                            $("#RightMidfield").css('left', "364px");
                        }
                        else if (Instruction == "2") {
                            $("#RightMidfieldInstructionsImage").attr("title", GetInstructionName("2"));
                            $("#RightMidfield").css('top', "34px");
                            $("#RightMidfield").css('left', "378px");
                        }
                                
                    </script>
                </td>
                <td style="width:60%; text-align:center; vertical-align:bottom;">
                
                    <img id="RightMidfieldActionUpArrowImage" alt="up" 
                    src="Images/MatchInstructions/UpArrowGrey.png"
                    onmouseover="UpActionArrowHover('RightMidfield')"
                    onmouseout="UpActionArrowMouseOut('RightMidfield')"
                    onclick="UpActionArrowClick('RightMidfield')"
                    class="up_instruction_arrow" />
               
                    <img id="RightMidfieldActionLeftArrowImage" alt="l" 
                    src="Images/MatchInstructions/LeftArrowGrey.png"
                    onmouseover="LeftActionArrowHover('RightMidfield')"
                    onmouseout="LeftActionArrowMouseOut('RightMidfield')"
                    onclick="LeftActionArrowClick('RightMidfield')"
                    class="left_instruction_arrow" />
                
                    <label id="RightMidfieldPreferredActionLabel" 
                    class="PreferredActionLabelStyle"
                    onclick="PreferredActionLableClick('RightMidfield')"></label>
                
                    <img id="RightMidfieldActionRightArrowImage" alt="r" 
                    src="Images/MatchInstructions/RightArrowGrey.png"
                    onmouseover="RightActionArrowHover('RightMidfield')"
                    onmouseout="RightActionArrowMouseOut('RightMidfield')"
                    onclick="RightActionArrowClick('RightMidfield')"
                    class="right_instruction_arrow" />
                </td>                        
                </tr>
                </table>
                <script language="javascript" type="text/javascript">
                    InitPreferredActionArea("RightMidfield");
                </script>
                                       
            </div>
                         
            <script language="javascript" type="text/javascript">

                var PlayerId = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_RightMidfieldPlayerIdHiddenField").value;
                if (PlayerId == "0") {
                    $("#RightMidfieldDragable").hide();
                    $("#RightMidfieldInstructions").hide();
                    $("#RightMidfield").removeClass("DroppableDivStyle");
                    $("#RightMidfield").addClass("DroppableDivStyleNoBG");
                }
                else {
                    HidePlayerRow(PlayerId);
                }
                        
                        
            </script> 
                    
        </div>

        <asp:HiddenField ID="LeftDefencePlayerIdHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="LeftDefenceInjuredHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="LeftDefenceInstructionHiddenField" runat="server" Value="2" />
        <asp:HiddenField ID="LeftDefencePreferredActionHiddenField" runat="server" Value="1" />
        <div id="LeftDefence" class="DroppableDivStyle" onmouseover="FieldDivOnMouseOver('LeftDefence')" onmouseout="FieldDivOnMouseOut('LeftDefence')">
            <div id="LeftDefenceCaptainImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="LeftDefenceSetPiecesTakerImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="LeftDefenceDragable" class="draggableStyle">
                <asp:Label ID="LeftDefencePlayerName" runat="server"></asp:Label>
            </div>
            
            <div id="LeftDefenceInstructions" class="instructions_rotation_def" >
                <table cellpadding="0" cellspacing="0" border="0" style="width:100%;">
                <tr style="height:25px;">
                <td style="width:40%; text-align:center; vertical-align:middle;">
                    <img id="LeftDefenceInstructionsImage" alt="Instruction" 
                    src="Images/MatchInstructions/InstructionsUpDownArrow.png"
                    onclick="SwapInstruction('LeftDefence')"
                    style="cursor:pointer;"/>
                    <script language="javascript" type="text/javascript">
                        var Prefix = "ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_";
                        var Instruction = document.getElementById(Prefix + "LeftDefenceInstructionHiddenField").value;

                        if (Instruction == "1") {
                            $("#LeftDefenceInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsDownArrow.png");
                            $("#LeftDefenceInstructionsImage").attr("title", GetInstructionName("1"));
                            $("#LeftDefence").css('top', "222px");
                            $("#LeftDefence").css('left', "298px");
                        }
                        else if (Instruction == "3") {
                            $("#LeftDefenceInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsUpArrow.png");
                            $("#LeftDefenceInstructionsImage").attr("title", GetInstructionName("3"));
                            $("#LeftDefence").css('top', "202px");
                            $("#LeftDefence").css('left', "280px");
                        }
                        else if (Instruction == "2") {
                            $("#LeftDefenceInstructionsImage").attr("title", GetInstructionName("2"));
                            $("#LeftDefence").css('top', "212px");
                            $("#LeftDefence").css('left', "274px");
                        }
                                
                    </script>
                </td>
                <td style="width:60%; text-align:center; vertical-align:bottom;">
                
                    <img id="LeftDefenceActionUpArrowImage" alt="up" 
                    src="Images/MatchInstructions/UpArrowGrey.png"
                    onmouseover="UpActionArrowHover('LeftDefence')"
                    onmouseout="UpActionArrowMouseOut('LeftDefence')"
                    onclick="UpActionArrowClick('LeftDefence')"
                    class="up_instruction_arrow" />
                
                    <img id="LeftDefenceActionLeftArrowImage" alt="l" 
                    src="Images/MatchInstructions/LeftArrowGrey.png"
                    onmouseover="LeftActionArrowHover('LeftDefence')"
                    onmouseout="LeftActionArrowMouseOut('LeftDefence')"
                    onclick="LeftActionArrowClick('LeftDefence')"
                    class="left_instruction_arrow" />
                
                    <label id="LeftDefencePreferredActionLabel" 
                    class="PreferredActionLabelStyle"
                    onclick="PreferredActionLableClick('LeftDefence')"></label>
                
                    <img id="LeftDefenceActionRightArrowImage" alt="r" 
                    src="Images/MatchInstructions/RightArrowGrey.png"
                    onmouseover="RightActionArrowHover('LeftDefence')"
                    onmouseout="RightActionArrowMouseOut('LeftDefence')"
                    onclick="RightActionArrowClick('LeftDefence')"
                    class="right_instruction_arrow" />
                </td>                        
                </tr>
                </table>
                <script language="javascript" type="text/javascript">
                    InitPreferredActionArea("LeftDefence");
                </script>
                
                        
            </div>
                         
            <script language="javascript" type="text/javascript">

                var PlayerId = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_LeftDefencePlayerIdHiddenField").value;
                if (PlayerId == "0") {
                    $("#LeftDefenceDragable").hide();
                    $("#LeftDefenceInstructions").hide();
                    $("#LeftDefence").removeClass("DroppableDivStyle");
                    $("#LeftDefence").addClass("DroppableDivStyleNoBG");
                }
                else {
                    HidePlayerRow(PlayerId);
                }
                        
            </script> 
                    
        </div>             

        <asp:HiddenField ID="LeftCenterDefencePlayerIdHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="LeftCenterDefenceInjuredHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="LeftCenterDefenceInstructionHiddenField" runat="server" Value="2" />
        <asp:HiddenField ID="LeftCenterDefencePreferredActionHiddenField" runat="server" Value="1" />
        <div id="LeftCenterDefence" class="DroppableDivStyle" onmouseover="FieldDivOnMouseOver('LeftCenterDefence')" onmouseout="FieldDivOnMouseOut('LeftCenterDefence')">
            <div id="LeftCenterDefenceCaptainImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="LeftCenterDefenceSetPiecesTakerImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="LeftCenterDefenceDragable" class="draggableStyle">
                <asp:Label ID="LeftCenterDefencePlayerName" runat="server"></asp:Label>
            </div>
            
            <div id="LeftCenterDefenceInstructions" class="instructions_rotation_def" >
                <table cellpadding="0" cellspacing="0" border="0" style="width:100%;">
                <tr style="height:25px;">
                <td style="width:40%; text-align:center; vertical-align:middle;">
                    <img id="LeftCenterDefenceInstructionsImage" alt="Instruction" 
                    src="Images/MatchInstructions/InstructionsUpDownArrow.png"
                    onclick="SwapInstruction('LeftCenterDefence')"
                    style="cursor:pointer;"/>
                    <script language="javascript" type="text/javascript">
                        var Prefix = "ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_";
                        var Instruction = document.getElementById(Prefix + "LeftCenterDefenceInstructionHiddenField").value;

                        if (Instruction == "1") {
                            $("#LeftCenterDefenceInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsDownArrow.png");
                            $("#LeftCenterDefenceInstructionsImage").attr("title", GetInstructionName("1"));
                            $("#LeftCenterDefence").css('top', "190px");
                            $("#LeftCenterDefence").css('left', "340px");   
                        }
                        else if (Instruction == "3") {
                            $("#LeftCenterDefenceInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsUpArrow.png");
                            $("#LeftCenterDefenceInstructionsImage").attr("title", GetInstructionName("3"));
                            $("#LeftCenterDefence").css('top', "170px");
                            $("#LeftCenterDefence").css('left', "312px");
                        }
                        else if (Instruction == "2") {
                            $("#LeftCenterDefenceInstructionsImage").attr("title", GetInstructionName("2"));
                            $("#LeftCenterDefence").css('top', "180px");
                            $("#LeftCenterDefence").css('left', "326px");
                        }
                                
                    </script>
                </td>
                <td style="width:60%; text-align:center; vertical-align:bottom;">
                
                    <img id="LeftCenterDefenceActionUpArrowImage" alt="up" 
                    src="Images/MatchInstructions/UpArrowGrey.png"
                    onmouseover="UpActionArrowHover('LeftCenterDefence')"
                    onmouseout="UpActionArrowMouseOut('LeftCenterDefence')"
                    onclick="UpActionArrowClick('LeftCenterDefence')"
                    class="up_instruction_arrow" />
                
                    <img id="LeftCenterDefenceActionLeftArrowImage" alt="l" 
                    src="Images/MatchInstructions/LeftArrowGrey.png"
                    onmouseover="LeftActionArrowHover('LeftCenterDefence')"
                    onmouseout="LeftActionArrowMouseOut('LeftCenterDefence')"
                    onclick="LeftActionArrowClick('LeftCenterDefence')"
                    class="left_instruction_arrow" />
                
                    <label id="LeftCenterDefencePreferredActionLabel" 
                    class="PreferredActionLabelStyle"
                    onclick="PreferredActionLableClick('LeftCenterDefence')"></label>
                
                    <img id="LeftCenterDefenceActionRightArrowImage" alt="r" 
                    src="Images/MatchInstructions/RightArrowGrey.png"
                    onmouseover="RightActionArrowHover('LeftCenterDefence')"
                    onmouseout="RightActionArrowMouseOut('LeftCenterDefence')"
                    onclick="RightActionArrowClick('LeftCenterDefence')"
                    class="right_instruction_arrow" />
                
                <script language="javascript" type="text/javascript">
                    InitPreferredActionArea("LeftCenterDefence");
                </script>
                </td>                        
                </tr>
                </table>
                        
            </div>
            
                         
            <script language="javascript" type="text/javascript">

                var PlayerId = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_LeftCenterDefencePlayerIdHiddenField").value;
                if (PlayerId == "0") {
                    $("#LeftCenterDefenceDragable").hide();
                    $("#LeftCenterDefenceInstructions").hide();
                    $("#LeftCenterDefence").removeClass("DroppableDivStyle");
                    $("#LeftCenterDefence").addClass("DroppableDivStyleNoBG");
                }
                else {
                    HidePlayerRow(PlayerId);
                }
                   
                        
            </script> 
                    
        </div>

        <asp:HiddenField ID="CenterDefencePlayerIdHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="CenterDefenceInjuredHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="CenterDefenceInstructionHiddenField" runat="server" Value="2" />
        <asp:HiddenField ID="CenterDefencePreferredActionHiddenField" runat="server" Value="1" />
        <div id="CenterDefence" class="DroppableDivStyle" onmouseover="FieldDivOnMouseOver('CenterDefence')" onmouseout="FieldDivOnMouseOut('CenterDefence')">
            <div id="CenterDefenceCaptainImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="CenterDefenceSetPiecesTakerImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="CenterDefenceDragable" class="draggableStyle">
                <asp:Label ID="CenterDefencePlayerName" runat="server"></asp:Label>
            </div>
            <div id="CenterDefenceInstructions"  class="instructions_rotation_def" >
                <table cellpadding="0" cellspacing="0" border="0" style="width:100%;">
                <tr style="height:25px;">
                <td style="width:40%; text-align:center; vertical-align:middle;">
                    <img id="CenterDefenceInstructionsImage" alt="Instruction" 
                    src="Images/MatchInstructions/InstructionsUpDownArrow.png"
                    onclick="SwapInstruction('CenterDefence')"
                    style="cursor:pointer;"/>
                    <script language="javascript" type="text/javascript">
                        var Prefix = "ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_";
                        var Instruction = document.getElementById(Prefix + "CenterDefenceInstructionHiddenField").value;

                        if (Instruction == "1") {
                            $("#CenterDefenceInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsDownArrow.png");
                            $("#CenterDefenceInstructionsImage").attr("title", GetInstructionName("1"));
                            $("#CenterDefence").css('top', "157px");
                            $("#CenterDefence").css('left', "394px");
                        }
                        else if (Instruction == "3") {
                            $("#CenterDefenceInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsUpArrow.png");
                            $("#CenterDefenceInstructionsImage").attr("title", GetInstructionName("3"));
                            $("#CenterDefence").css('top', "137px");
                            $("#CenterDefence").css('left', "366px");
                        }
                        else if (Instruction == "2") {
                            $("#CenterDefenceInstructionsImage").attr("title", GetInstructionName("2"));
                            $("#CenterDefence").css('top', "147px");
                            $("#CenterDefence").css('left', "380px");
                        }
                                
                    </script>
                </td>
                <td style="width:60%; text-align:center; vertical-align:bottom;">
                
                    <img id="CenterDefenceActionUpArrowImage" alt="up" 
                    src="Images/MatchInstructions/UpArrowGrey.png"
                    onmouseover="UpActionArrowHover('CenterDefence')"
                    onmouseout="UpActionArrowMouseOut('CenterDefence')"
                    onclick="UpActionArrowClick('CenterDefence')"
                    class="up_instruction_arrow" />
                
                    <img id="CenterDefenceActionLeftArrowImage" alt="l" 
                    src="Images/MatchInstructions/LeftArrowGrey.png"
                    onmouseover="LeftActionArrowHover('CenterDefence')"
                    onmouseout="LeftActionArrowMouseOut('CenterDefence')"
                    onclick="LeftActionArrowClick('CenterDefence')"
                    class="left_instruction_arrow" />
                
                    <label id="CenterDefencePreferredActionLabel" 
                    class="PreferredActionLabelStyle"
                    onclick="PreferredActionLableClick('CenterDefence')"></label>
                
                    <img id="CenterDefenceActionRightArrowImage" alt="r" 
                    src="Images/MatchInstructions/RightArrowGrey.png"
                    onmouseover="RightActionArrowHover('CenterDefence')"
                    onmouseout="RightActionArrowMouseOut('CenterDefence')"
                    onclick="RightActionArrowClick('CenterDefence')"
                    class="right_instruction_arrow" />
                </td>                        
                </tr>
                </table>
                <script language="javascript" type="text/javascript">
                    InitPreferredActionArea("CenterDefence");
                </script>
                        
            </div>
                         
            <script language="javascript" type="text/javascript">

                var PlayerId = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_CenterDefencePlayerIdHiddenField").value;
                if (PlayerId == "0") {
                    $("#CenterDefenceDragable").hide();
                    $("#CenterDefenceInstructions").hide();
                    $("#CenterDefence").removeClass("DroppableDivStyle");
                    $("#CenterDefence").addClass("DroppableDivStyleNoBG");
                }
                else {
                    HidePlayerRow(PlayerId);
                }
                        
                        
            </script> 
                    
        </div>

        <asp:HiddenField ID="RightCenterDefencePlayerIdHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="RightCenterDefenceInjuredHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="RightCenterDefenceInstructionHiddenField" runat="server" Value="2" />
        <asp:HiddenField ID="RightCenterDefencePreferredActionHiddenField" runat="server" Value="1" />
        <div id="RightCenterDefence" class="DroppableDivStyle" onmouseover="FieldDivOnMouseOver('RightCenterDefence')" onmouseout="FieldDivOnMouseOut('RightCenterDefence')">
            <div id="RightCenterDefenceCaptainImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="RightCenterDefenceSetPiecesTakerImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="RightCenterDefenceDragable" class="draggableStyle">
                <asp:Label ID="RightCenterDefencePlayerName" runat="server"></asp:Label>
            </div>
            <div id="RightCenterDefenceInstructions" class="instructions_rotation_def" >
                <table cellpadding="0" cellspacing="0" border="0" style="width:100%;">
                <tr style="height:25px;">
                <td style="width:40%; text-align:center; vertical-align:middle;">
                    <img id="RightCenterDefenceInstructionsImage" alt="Instruction" 
                    src="Images/MatchInstructions/InstructionsUpDownArrow.png"
                    onclick="SwapInstruction('RightCenterDefence')"
                    style="cursor:pointer;"/>
                    <script language="javascript" type="text/javascript">
                        var Prefix = "ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_";
                        var Instruction = document.getElementById(Prefix + "RightCenterDefenceInstructionHiddenField").value;

                        if (Instruction == "1") {
                            $("#RightCenterDefenceInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsDownArrow.png");
                            $("#RightCenterDefenceInstructionsImage").attr("title", GetInstructionName("1"));
                            $("#RightCenterDefence").css('top', "124px");
                            $("#RightCenterDefence").css('left', "448px");
                        }
                        else if (Instruction == "3") {
                            $("#RightCenterDefenceInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsUpArrow.png");
                            $("#RightCenterDefenceInstructionsImage").attr("title", GetInstructionName("3"));
                            $("#RightCenterDefence").css('top', "104px");
                            $("#RightCenterDefence").css('left', "420px");
                        }
                        else if (Instruction == "2") {
                            $("#RightCenterDefenceInstructionsImage").attr("title", GetInstructionName("2"));
                            $("#RightCenterDefence").css('top', "114px");
                            $("#RightCenterDefence").css('left', "434px");
                        }
                                
                    </script>
                </td>
                <td style="width:60%; text-align:center; vertical-align:bottom;">
                
                    <img id="RightCenterDefenceActionUpArrowImage" alt="up" 
                    src="Images/MatchInstructions/UpArrowGrey.png"
                    onmouseover="UpActionArrowHover('RightCenterDefence')"
                    onmouseout="UpActionArrowMouseOut('RightCenterDefence')"
                    onclick="UpActionArrowClick('RightCenterDefence')"
                    class="up_instruction_arrow" />
                
                    <img id="RightCenterDefenceActionLeftArrowImage" alt="l" 
                    src="Images/MatchInstructions/LeftArrowGrey.png"
                    onmouseover="LeftActionArrowHover('RightCenterDefence')"
                    onmouseout="LeftActionArrowMouseOut('RightCenterDefence')"
                    onclick="LeftActionArrowClick('RightCenterDefence')"
                    class="left_instruction_arrow" />
                
                    <label id="RightCenterDefencePreferredActionLabel" 
                    class="PreferredActionLabelStyle"
                    onclick="PreferredActionLableClick('RightCenterDefence')"></label>
                
                    <img id="RightCenterDefenceActionRightArrowImage" alt="r" 
                    src="Images/MatchInstructions/RightArrowGrey.png"
                    onmouseover="RightActionArrowHover('RightCenterDefence')"
                    onmouseout="RightActionArrowMouseOut('RightCenterDefence')"
                    onclick="RightActionArrowClick('RightCenterDefence')"
                    class="right_instruction_arrow" />
                </td>                        
                </tr>
                </table>
                <script language="javascript" type="text/javascript">
                    InitPreferredActionArea("RightCenterDefence");
                </script>
                
                        
            </div>
                         
            <script language="javascript" type="text/javascript">

                var PlayerId = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_RightCenterDefencePlayerIdHiddenField").value;
                if (PlayerId == "0") {
                    $("#RightCenterDefenceDragable").hide();
                    $("#RightCenterDefenceInstructions").hide();
                    $("#RightCenterDefence").removeClass("DroppableDivStyle");
                    $("#RightCenterDefence").addClass("DroppableDivStyleNoBG");
                }
                else {
                    HidePlayerRow(PlayerId);
                }
                        
                        
            </script> 
                    
        </div>

        <asp:HiddenField ID="RightDefencePlayerIdHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="RightDefenceInjuredHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="RightDefenceInstructionHiddenField" runat="server" Value="2" />
        <asp:HiddenField ID="RightDefencePreferredActionHiddenField" runat="server" Value="1" />
        <div id="RightDefence" class="DroppableDivStyle" onmouseover="FieldDivOnMouseOver('RightDefence')" onmouseout="FieldDivOnMouseOut('RightDefence')">
            <div id="RightDefenceCaptainImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="RightDefenceSetPiecesTakerImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="RightDefenceDragable" class="draggableStyle">
                <asp:Label ID="RightDefencePlayerName" runat="server"></asp:Label>
            </div>
            
            <div id="RightDefenceInstructions" class="instructions_rotation_def" >
                <table cellpadding="0" cellspacing="0" border="0" style="width:100%;">
                <tr style="height:25px;">
                <td style="width:40%; text-align:center; vertical-align:middle;">
                    <img id="RightDefenceInstructionsImage" alt="Instruction" 
                    src="Images/MatchInstructions/InstructionsUpDownArrow.png"
                    onclick="SwapInstruction('RightDefence')"
                    style="cursor:pointer;"/>
                    <script language="javascript" type="text/javascript">
                        var Prefix = "ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_";
                        var Instruction = document.getElementById(Prefix + "RightDefenceInstructionHiddenField").value;

                        if (Instruction == "1") {
                            $("#RightDefenceInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsDownArrow.png");
                            $("#RightDefenceInstructionsImage").attr("title", GetInstructionName("1"));
                            $("#RightDefence").css('top', "92px");
                            $("#RightDefence").css('left', "500px");
                        }
                        else if (Instruction == "3") {
                            $("#RightDefenceInstructionsImage").attr("src", "Images/MatchInstructions/InstructionsUpArrow.png");
                            $("#RightDefenceInstructionsImage").attr("title", GetInstructionName("3"));
                            $("#RightDefence").css('top', "72px");
                            $("#RightDefence").css('left', "472px");
                        }
                        else if (Instruction == "2") {
                            $("#RightDefenceInstructionsImage").attr("title", GetInstructionName("2"));
                            $("#RightDefence").css('top', "82px");
                            $("#RightDefence").css('left', "486px");
                        }
                                
                    </script>
                </td>
                <td style="width:60%; text-align:center; vertical-align:bottom;">
                
                    <img id="RightDefenceActionUpArrowImage" alt="up" 
                    src="Images/MatchInstructions/UpArrowGrey.png"
                    onmouseover="UpActionArrowHover('RightDefence')"
                    onmouseout="UpActionArrowMouseOut('RightDefence')"
                    onclick="UpActionArrowClick('RightDefence')"
                    class="up_instruction_arrow" />
                
                    <img id="RightDefenceActionLeftArrowImage" alt="l" 
                    src="Images/MatchInstructions/LeftArrowGrey.png"
                    onmouseover="LeftActionArrowHover('RightDefence')"
                    onmouseout="LeftActionArrowMouseOut('RightDefence')"
                    onclick="LeftActionArrowClick('RightDefence')"
                    class="left_instruction_arrow" />
                
                    <label id="RightDefencePreferredActionLabel" 
                    class="PreferredActionLabelStyle"
                    onclick="PreferredActionLableClick('RightDefence')"></label>
                
                    <img id="RightDefenceActionRightArrowImage" alt="r" 
                    src="Images/MatchInstructions/RightArrowGrey.png"
                    onmouseover="RightActionArrowHover('RightDefence')"
                    onmouseout="RightActionArrowMouseOut('RightDefence')"
                    onclick="RightActionArrowClick('RightDefence')"
                    class="right_instruction_arrow" />
                </td>                        
                </tr>
                </table>
                <script language="javascript" type="text/javascript">
                    InitPreferredActionArea("RightDefence");
                </script>
                
                        
            </div>
                         
            <script language="javascript" type="text/javascript">

                var PlayerId = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_RightDefencePlayerIdHiddenField").value;
                if (PlayerId == "0") {
                    $("#RightDefenceDragable").hide();
                    $("#RightDefenceInstructions").hide();
                    $("#RightDefence").removeClass("DroppableDivStyle");
                    $("#RightDefence").addClass("DroppableDivStyleNoBG");
                }
                else {
                    HidePlayerRow(PlayerId);
                }
                    
                        
            </script> 
                    
        </div>


        <asp:HiddenField ID="KeeperPlayerIdHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="KeeperInjuredHiddenField" runat="server" Value="0" />
        <div id="Keeper" class="DroppableDivStyle" onmouseover="FieldDivOnMouseOver('Keeper')" onmouseout="FieldDivOnMouseOut('Keeper')">
            <div id="KeeperCaptainImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="KeeperSetPiecesTakerImageDiv" class="EmptyCaptainSetPiecesStyle"></div>
            <div id="KeeperDragable" class="draggableStyle">
                <asp:Label ID="KeeperPlayerName" runat="server"></asp:Label>
            </div>
            <div id="KeeperInstructions"  >
                                                
            </div>
                         
            <script language="javascript" type="text/javascript">

                var PlayerId = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_KeeperPlayerIdHiddenField").value;
                if (PlayerId == "0") {
                    $("#KeeperDragable").hide();
                    $("#KeeperInstructions").hide();
                    $("#Keeper").removeClass("DroppableDivStyle");
                    $("#Keeper").addClass("DroppableDivStyleNoBG");
                }
                else {
                    HidePlayerRow(PlayerId);
                }
                       
                        
            </script> 
                    
        </div>

        <asp:HiddenField ID="Sub1PlayerIdHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="Sub1InjuredHiddenField" runat="server" Value="0" />
        <div id="Sub1" class="DroppableDivStyle" onmouseover="FieldDivOnMouseOver('Sub1')" onmouseout="FieldDivOnMouseOut('Sub1')">
            <div id="Sub1Dragable" class="draggableStyle">
                <asp:Label ID="Sub1PlayerName" runat="server"></asp:Label>
            </div>
            <br /><br /><br /><br />
            <div id="Sub1Instructions">
                <asp:Panel ID="Sub1DirectionPanel" runat="server" Direction='<%# GetDirection() %>'>
                
                <asp:Label ID="Sub1PositionsRadioButtonListLabel" runat="server" CssClass="DroppableTextStyle"
                Text="<%$ Resources:Resource, MatchInstructionsNew_PleaseChoosePosition %>"></asp:Label>
                <asp:Panel ID="Sub1PositionPanel" runat="server" CssClass="DropDownPanelStyle">
                    
                    <asp:Label ID="Sub1PositionTitleLabel" runat="server"
                        Text="<%$ Resources:Resource, MatchInstructions_PleaseChoosePositionsForSubs %>" ></asp:Label>
                        <br />
                    <asp:RadioButtonList ID="Sub1PositionsRadioButtonList" runat="server"
                        DataSourceID="GetSubstitutePositionsDDLSqlDataSource" 
                        OnDataBound="RadioButtonListDataBound"
                        DataTextField="PositionName" DataValueField="PositionId">
                    </asp:RadioButtonList>
                </asp:Panel>
                <asp:DropDownExtender ID="Sub1DropDownExtender" runat="server"
                    TargetControlID="Sub1PositionsRadioButtonListLabel" 
                    DropDownControlID="Sub1PositionPanel"
                    HighlightBackColor="WhiteSmoke"
                    HighlightBorderColor="LightGray"
                    DropArrowBackColor="Transparent" DropArrowImageUrl="~/Images/transparrent_pixel.png" DropArrowWidth="1">
                </asp:DropDownExtender>
                </asp:Panel>
            </div>                    
        </div>
        <script language="javascript" type="text/javascript">

            var PlayerId = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_Sub1PlayerIdHiddenField").value;
            if (PlayerId == "0") {
                $("#Sub1Dragable").hide();
                $("#Sub1Instructions").hide();
                $("#Sub1").removeClass("DroppableDivStyle");
                $("#Sub1").addClass("DroppableDivStyleNoBG");
            }
            else {
                HidePlayerRow(PlayerId);
            }
            var DirPanel = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_Sub1PositionPanel");
            var Align = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_DirectionHiddenField").value;

            DirPanel.style.textAlign = Align;
                    
                    
        </script>              

        <asp:HiddenField ID="Sub2PlayerIdHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="Sub2InjuredHiddenField" runat="server" Value="0" />
        <div id="Sub2" class="DroppableDivStyle" onmouseover="FieldDivOnMouseOver('Sub2')" onmouseout="FieldDivOnMouseOut('Sub2')">
            <div id="Sub2Dragable" class="draggableStyle">
                <asp:Label ID="Sub2PlayerName" runat="server"></asp:Label>
            </div>
            <br /><br /><br /><br />
            <div id="Sub2Instructions">
                <asp:Panel ID="Sub2DirectionPanel" runat="server" Direction='<%# GetDirection() %>'>
                <asp:Label ID="Sub2PositionsRadioButtonListLabel" runat="server" CssClass="DroppableTextStyle"
                Text="<%$ Resources:Resource, MatchInstructionsNew_PleaseChoosePosition %>"></asp:Label>
                <asp:Panel ID="Sub2PositionPanel" runat="server" CssClass="DropDownPanelStyle">
                    
                    <asp:Label ID="Sub2PositionTitleLabel" runat="server"
                        Text="<%$ Resources:Resource, MatchInstructions_PleaseChoosePositionsForSubs %>"></asp:Label>
                        <br />
                    <asp:RadioButtonList ID="Sub2PositionsRadioButtonList" runat="server"
                        DataSourceID="GetSubstitutePositionsDDLSqlDataSource" 
                        OnDataBound="RadioButtonListDataBound"
                        DataTextField="PositionName" DataValueField="PositionId">
                    </asp:RadioButtonList>
                </asp:Panel>
                <asp:DropDownExtender ID="Sub2DropDownExtender" runat="server"
                    TargetControlID="Sub2PositionsRadioButtonListLabel" 
                    DropDownControlID="Sub2PositionPanel"
                    HighlightBackColor="WhiteSmoke"
                    HighlightBorderColor="LightGray"
                    DropArrowBackColor="Transparent" DropArrowImageUrl="~/Images/transparrent_pixel.png" DropArrowWidth="1" >
                </asp:DropDownExtender>
                </asp:Panel>
            </div>                    
        </div>
        <script language="javascript" type="text/javascript">

            var PlayerId = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_Sub2PlayerIdHiddenField").value;
            if (PlayerId == "0") {
                $("#Sub2Dragable").hide();
                $("#Sub2Instructions").hide();
                $("#Sub2").removeClass("DroppableDivStyle");
                $("#Sub2").addClass("DroppableDivStyleNoBG");
            }
            else {
                HidePlayerRow(PlayerId);
            }

            var DirPanel = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_Sub2PositionPanel");
            var Align = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_DirectionHiddenField").value;

            DirPanel.style.textAlign = Align;
                    
        </script>  

        <asp:HiddenField ID="Sub3PlayerIdHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="Sub3InjuredHiddenField" runat="server" Value="0" />
        <div id="Sub3" class="DroppableDivStyle" onmouseover="FieldDivOnMouseOver('Sub3')" onmouseout="FieldDivOnMouseOut('Sub3')">
            <div id="Sub3Dragable" class="draggableStyle">
                <asp:Label ID="Sub3PlayerName" runat="server"></asp:Label>
            </div>
            <br /><br /><br /><br />
            <div id="Sub3Instructions">
                <asp:Panel ID="Sub3DirectionPanel" runat="server" Direction='<%# GetDirection() %>'>
                <asp:Label ID="Sub3PositionsRadioButtonListLabel" runat="server" CssClass="DroppableTextStyle"
                Text="<%$ Resources:Resource, MatchInstructionsNew_PleaseChoosePosition %>"></asp:Label>
                <asp:Panel ID="Sub3PositionPanel" runat="server" CssClass="DropDownPanelStyle">
                    <asp:Label ID="Sub3PositionTitleLabel" runat="server"
                        Text="<%$ Resources:Resource, MatchInstructions_PleaseChoosePositionsForSubs %>"></asp:Label>
                        <br />
                    <asp:RadioButtonList ID="Sub3PositionsRadioButtonList" runat="server"
                        OnDataBound="RadioButtonListDataBound"
                        DataSourceID="GetSubstitutePositionsDDLSqlDataSource" 
                        DataTextField="PositionName" DataValueField="PositionId">
                    </asp:RadioButtonList>
                    
                </asp:Panel>
                <asp:DropDownExtender ID="Sub3DropDownExtender" runat="server"
                    TargetControlID="Sub3PositionsRadioButtonListLabel" 
                    DropDownControlID="Sub3PositionPanel"
                    HighlightBackColor="WhiteSmoke"
                    HighlightBorderColor="LightGray"
                    DropArrowBackColor="Transparent" DropArrowImageUrl="~/Images/transparrent_pixel.png" DropArrowWidth="1" >
                </asp:DropDownExtender>
                </asp:Panel>
            </div>                    
        </div>
        <script language="javascript" type="text/javascript">

            var PlayerId = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_Sub3PlayerIdHiddenField").value;
            if (PlayerId == "0") {
                $("#Sub3Dragable").hide();
                $("#Sub3Instructions").hide();
                $("#Sub3").removeClass("DroppableDivStyle");
                $("#Sub3").addClass("DroppableDivStyleNoBG");
            }
            else {
                HidePlayerRow(PlayerId);
            }

            var DirPanel = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_Sub3PositionPanel");
            var Align = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_DirectionHiddenField").value;

            DirPanel.style.textAlign = Align;
        </script>  

        <asp:HiddenField ID="Sub4PlayerIdHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="Sub4InjuredHiddenField" runat="server" Value="0" />
        <div id="Sub4" class="DroppableDivStyle" onmouseover="FieldDivOnMouseOver('Sub4')" onmouseout="FieldDivOnMouseOut('Sub4')">
            <div id="Sub4Dragable" class="draggableStyle">
                <asp:Label ID="Sub4PlayerName" runat="server"></asp:Label>
            </div>
            <br /><br /><br /><br />
            <div id="Sub4Instructions">
                
                <asp:Panel ID="Sub4DirectionPanel" runat="server" Direction='<%# GetDirection() %>'>
                <asp:Label ID="Sub4PositionsRadioButtonListLabel" runat="server" CssClass="DroppableTextStyle"
                Text="<%$ Resources:Resource, MatchInstructionsNew_PleaseChoosePosition %>"></asp:Label>
                <asp:Panel ID="Sub4PositionPanel" runat="server" CssClass="DropDownPanelStyle">
                    
                    <asp:Label ID="Sub4PositionTitleLabel" runat="server"
                        Text="<%$ Resources:Resource, MatchInstructions_PleaseChoosePositionsForSubs %>"></asp:Label>
                        <br />
                    <asp:RadioButtonList ID="Sub4PositionsRadioButtonList" runat="server"
                        OnDataBound="RadioButtonListDataBound"
                        DataSourceID="GetSubstitutePositionsDDLSqlDataSource" 
                        DataTextField="PositionName" DataValueField="PositionId">
                    </asp:RadioButtonList>
                    
                </asp:Panel>
                <asp:DropDownExtender ID="Sub4DropDownExtender" runat="server"
                    TargetControlID="Sub4PositionsRadioButtonListLabel" 
                    DropDownControlID="Sub4PositionPanel"
                    HighlightBackColor="WhiteSmoke"
                    HighlightBorderColor="LightGray"
                    DropArrowBackColor="Transparent" DropArrowImageUrl="~/Images/transparrent_pixel.png" DropArrowWidth="1">
                </asp:DropDownExtender>
                </asp:Panel>
            </div>                    
        </div> 
        <script language="javascript" type="text/javascript">

            var PlayerId = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_Sub4PlayerIdHiddenField").value;
            if (PlayerId == "0") {
                $("#Sub4Dragable").hide();
                $("#Sub4Instructions").hide();
                $("#Sub4").removeClass("DroppableDivStyle");
                $("#Sub4").addClass("DroppableDivStyleNoBG");
            }
            else {
                HidePlayerRow(PlayerId);
            }

            var DirPanel = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_Sub4PositionPanel");
            var Align = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_DirectionHiddenField").value;

            DirPanel.style.textAlign = Align;
        </script> 

        <asp:HiddenField ID="Sub5PlayerIdHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="Sub5InjuredHiddenField" runat="server" Value="0" />
        <div id="Sub5" class="DroppableDivStyle" onmouseover="FieldDivOnMouseOver('Sub5')" onmouseout="FieldDivOnMouseOut('Sub5')">
            <div id="Sub5Dragable" class="draggableStyle">
                <asp:Label ID="Sub5PlayerName" runat="server"></asp:Label>
            </div>
            <br /><br /><br /><br />
            <div id="Sub5Instructions">
                <asp:Panel ID="Sub5DirectionPanel" runat="server" Direction='<%# GetDirection() %>'>                        
                <asp:Label ID="Sub5PositionsRadioButtonListLabel" runat="server" CssClass="DroppableTextStyle"
                Text="<%$ Resources:Resource, MatchInstructionsNew_PleaseChoosePosition %>"></asp:Label>
                <asp:Panel ID="Sub5PositionPanel" runat="server" CssClass="DropDownPanelStyle" >
                    
                    <asp:Label ID="Sub5PositionTitleLabel" runat="server"
                        Text="<%$ Resources:Resource, MatchInstructions_PleaseChoosePositionsForSubs %>"></asp:Label>
                        <br />
                    <asp:RadioButtonList ID="Sub5PositionsRadioButtonList" runat="server"
                        OnDataBound="RadioButtonListDataBound"
                        DataSourceID="GetSubstitutePositionsDDLSqlDataSource" 
                        DataTextField="PositionName" DataValueField="PositionId">
                    </asp:RadioButtonList>
                    
                </asp:Panel>
                        
                <asp:DropDownExtender ID="Sub5DropDownExtender" runat="server"
                    TargetControlID="Sub5PositionsRadioButtonListLabel" 
                    DropDownControlID="Sub5PositionPanel"
                    HighlightBackColor="WhiteSmoke"
                    HighlightBorderColor="LightGray"
                    DropArrowBackColor="Transparent" DropArrowImageUrl="~/Images/transparrent_pixel.png" DropArrowWidth="1">
                </asp:DropDownExtender>
                </asp:Panel>
            </div>                    
        </div> 
        <script language="javascript" type="text/javascript">

            var PlayerId = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_Sub5PlayerIdHiddenField").value;
            if (PlayerId == "0") {
                $("#Sub5Dragable").hide();
                $("#Sub5Instructions").hide();
                $("#Sub5").removeClass("DroppableDivStyle");
                $("#Sub5").addClass("DroppableDivStyleNoBG");
            }
            else {
                HidePlayerRow(PlayerId);
            }

            var DirPanel = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_Sub5PositionPanel");
            var Align = document.getElementById("ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_DirectionHiddenField").value;

            DirPanel.style.textAlign = Align;
        </script> 
    </div>
    <div class="clearBoth"></div>
    </asp:Panel>
    </div>
    
    <br /><br />
    <div id="AddNewSub">
    <div class="tbl">
    <div class="tblr">
    <div class="tblc padding5">
        <asp:Button ID="ShowSubstitutionButton" runat="server" CssClass="green_match_instr_button"
         Text="<%$ Resources:Resource, MatchSubstitutionInstructions_addNewSubstitutionLabel %>"
         OnClientClick="javascript:OpenNewSubstitution('Substitution'); return false;" />   
    </div>
    
    <div class="tblc padding5">
        <asp:Button ID="ShowPlayerChangeButton" runat="server" CssClass="green_match_instr_button"
         Text="<%$ Resources:Resource, MatchSubstitutionInstructions_PlayerBehaviourTitleLabel %>"
         OnClientClick="javascript:OpenNewSubstitution('PlayerChange'); return false;" />
    </div>
    <%--</div>
    <div class="tblr">--%>
    <div class="tblc padding5">
        <asp:Button ID="ShowTeamChangeButton" runat="server" CssClass="green_match_instr_button"
         Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamBehaviourTitleLabel %>"
         OnClientClick="javascript:OpenNewSubstitution('TeamChange'); return false;" />
    </div>
    <div class="tblc padding5">
        <asp:Button ID="ShowPenaltyTakersButton" runat="server" CssClass="green_match_instr_button"
         Text="<%$ Resources:Resource, MatchInstructions_penaltyTakersLabel %>" 
         OnClientClick="javascript:ShowPenArea(); return false;" />
    </div>
    </div>
    </div>
    </div>
    <div id="PenaltiesDiv" class="subinstructions_area rounded_corners invisible" >    
    <asp:HiddenField ID="PenaltyTaker1HiddenField" runat="server" />
    <asp:HiddenField ID="PenaltyTaker2HiddenField" runat="server" />
    <asp:HiddenField ID="PenaltyTaker3HiddenField" runat="server" />
    <asp:HiddenField ID="PenaltyTaker4HiddenField" runat="server" />
    <asp:HiddenField ID="PenaltyTaker5HiddenField" runat="server" />
    <asp:HiddenField ID="PenaltyTaker6HiddenField" runat="server" />
    <asp:HiddenField ID="PenaltyTaker7HiddenField" runat="server" />
    <asp:HiddenField ID="PenaltyTaker8HiddenField" runat="server" />
    <asp:HiddenField ID="PenaltyTaker9HiddenField" runat="server" />
    <asp:HiddenField ID="PenaltyTaker10HiddenField" runat="server" />
    <asp:HiddenField ID="PenaltyTaker11HiddenField" runat="server" />
    <div class="padding5">
    <asp:Label ID="PenaltyTakersTitleLable" runat="server" CssClass="formation_green"
    Text="<%$ Resources:Resource, MatchInstructions_penaltyTakersLabel %>"></asp:Label>
    <br />
    
     <table>
     <tr>
     <td>
         <asp:Label ID="Penalty1TitleLabel" runat="server" Text="1." SkinID="GridLabel"></asp:Label>
     </td>
     <td>
         <asp:DropDownList ID="PenaltyDropDownList1" runat="server"  CssClass="rounded_corners"
         DataSourceID="PlayersDDLDataSource"  DataTextField="PlayerName" DataValueField="PlayerId"
         onchange="PenaltyDDLoptionChange(this.getAttribute('id'))"></asp:DropDownList>
     </td>
     </tr>
     <tr>
     <td>
        <asp:Label ID="Penalty2TitleLabel" runat="server" Text="2." SkinID="GridLabel"></asp:Label>   
     </td>
     <td>
        <asp:DropDownList ID="PenaltyDropDownList2" runat="server"  CssClass="rounded_corners"
         DataSourceID="PlayersDDLDataSource"  DataTextField="PlayerName" DataValueField="PlayerId"
          onchange="PenaltyDDLoptionChange(this.getAttribute('id'))"></asp:DropDownList>
     </td>
     </tr>
     <tr>
     <td>
        <asp:Label ID="Penalty3TitleLabel" runat="server" Text="3." SkinID="GridLabel"></asp:Label>
     </td>
     <td>
        <asp:DropDownList ID="PenaltyDropDownList3" runat="server"   CssClass="rounded_corners"
         DataSourceID="PlayersDDLDataSource"  DataTextField="PlayerName" DataValueField="PlayerId"
         onchange="PenaltyDDLoptionChange(this.getAttribute('id'))"></asp:DropDownList>
     </td>
     </tr>
     <tr>
     <td>
        <asp:Label ID="Penalty4TitleLabel" runat="server" Text="4." SkinID="GridLabel"></asp:Label>
     </td>
     <td>
        <asp:DropDownList ID="PenaltyDropDownList4" runat="server"   CssClass="rounded_corners"
         DataSourceID="PlayersDDLDataSource"  DataTextField="PlayerName" DataValueField="PlayerId"
         onchange="PenaltyDDLoptionChange(this.getAttribute('id'))"></asp:DropDownList>
     </td>
     </tr>
     <tr>
     <td>
        <asp:Label ID="Penalty5TitleLabel" runat="server" Text="5." SkinID="GridLabel"></asp:Label>
     </td>
     <td>
        <asp:DropDownList ID="PenaltyDropDownList5" runat="server"   CssClass="rounded_corners"
         DataSourceID="PlayersDDLDataSource"  DataTextField="PlayerName" DataValueField="PlayerId"
         onchange="PenaltyDDLoptionChange(this.getAttribute('id'))"></asp:DropDownList>
     </td>
     </tr>
     <tr>
     <td>
        <asp:Label ID="Penalty6TitleLabel" runat="server" Text="6." SkinID="GridLabel"></asp:Label>
     </td>
     <td>
        <asp:DropDownList ID="PenaltyDropDownList6" runat="server"   CssClass="rounded_corners"
         DataSourceID="PlayersDDLDataSource"  DataTextField="PlayerName" DataValueField="PlayerId"
         onchange="PenaltyDDLoptionChange(this.getAttribute('id'))"></asp:DropDownList>
     </td>
     </tr>
     <tr>
     <td>
        <asp:Label ID="Penalty7TitleLabel" runat="server" Text="7." SkinID="GridLabel"></asp:Label>
     </td>
     <td>
        <asp:DropDownList ID="PenaltyDropDownList7" runat="server"  CssClass="rounded_corners" 
         DataSourceID="PlayersDDLDataSource"  DataTextField="PlayerName" DataValueField="PlayerId"
         onchange="PenaltyDDLoptionChange(this.getAttribute('id'))"></asp:DropDownList>
     </td>
     </tr>
     <tr>
     <td>
        <asp:Label ID="Penalty8TitleLabel" runat="server" Text="8." SkinID="GridLabel"></asp:Label>
     </td>
     <td>
        <asp:DropDownList ID="PenaltyDropDownList8" runat="server"   CssClass="rounded_corners"
         DataSourceID="PlayersDDLDataSource"  DataTextField="PlayerName" DataValueField="PlayerId"
         onchange="PenaltyDDLoptionChange(this.getAttribute('id'))"></asp:DropDownList>
     </td>
     </tr>
     <tr>
     <td>
        <asp:Label ID="Penalty9TitleLabel" runat="server" Text="9." SkinID="GridLabel"></asp:Label>
     </td>
     <td>
        <asp:DropDownList ID="PenaltyDropDownList9" runat="server"  CssClass="rounded_corners" 
         DataSourceID="PlayersDDLDataSource"  DataTextField="PlayerName" DataValueField="PlayerId"
         onchange="PenaltyDDLoptionChange(this.getAttribute('id'))"></asp:DropDownList>
     </td>
     </tr>
     <tr>
     <td>
        <asp:Label ID="Penalty10TitleLabel" runat="server" Text="10." SkinID="GridLabel"></asp:Label>
     </td>
     <td>
        <asp:DropDownList ID="PenaltyDropDownList10" runat="server"   CssClass="rounded_corners"
         DataSourceID="PlayersDDLDataSource"  DataTextField="PlayerName" DataValueField="PlayerId"
         onchange="PenaltyDDLoptionChange(this.getAttribute('id'))"></asp:DropDownList>
     </td>
     </tr>
     <tr>
     <td>   
        <asp:Label ID="Penalty11TitleLabel" runat="server" Text="11." SkinID="GridLabel"></asp:Label>
     </td>
     <td>
        <asp:DropDownList ID="PenaltyDropDownList11" runat="server"  CssClass="rounded_corners" 
         DataSourceID="PlayersDDLDataSource"  DataTextField="PlayerName" DataValueField="PlayerId"
         onchange="PenaltyDDLoptionChange(this.getAttribute('id'))"></asp:DropDownList>
     </td>
     </tr>
     
    </table>
    </div>
     
    </div>
    <div id="SubstitutionsDiv">
    
    <div id="NewSubstitution" style="display:none;" class="subinstructions_area padding5 rounded_corners">
        <asp:HiddenField ID="NewSubstitutionTypeHiddenField" runat="server" Value="0" />
        <table cellpadding="5" width="90%">
        <tr>
        <td style="width:50%">
            <asp:Label ID="StubstitutionTimeTitleLabel" runat="server" CssClass="green_subinstructionlabel"
             Text="<%$ Resources:Resource, MatchInstructionsNew_SubtitiutionMinutesTitleLabel %>"></asp:Label>
             <br />
            <asp:Label ID="SubstitutionTimeLabel" runat="server" CssClass="green_subinstructiontextlabel"            
             Text="<%$ Resources:Resource, MatchInstructions_NoSubstitutionTimeRestrictionsString  %>"></asp:Label>
            
        </td>
        <td style="width:50%">
            <div id="SubstitutionTimeSlider"></div>
        </td>
        </tr>
        </table>
        <table cellpadding="5" style="width:90%">
        <tr>
        <td style="width:50%">
            <asp:Label ID="PossessionConditionTitleLabel" runat="server" CssClass="green_subinstructionlabel"
             Text="<%$ Resources:Resource, MatchSubstitutionInstructions_PossessionConditionHeaderText %>"></asp:Label>
             <br />
            <asp:Label ID="PosesseionConditionLabel" runat="server" CssClass="green_subinstructiontextlabel"
             Text="<%$ Resources:Resource, MatchInstrctions_NoPossessionRestrictionsString %>"></asp:Label>
            
            
        </td>
        <td style="width:50%">
            <div id="PossessionSlider"></div>
        </td>
        </tr>
        </table>
        <table cellpadding="5"  style="width:90%">
        <tr>
        <td style="width:50%">
            <asp:Label ID="ScoreTitleLabel" runat="server" CssClass="green_subinstructionlabel"
             Text="<%$ Resources:Resource, Global_GoalsCondition %>"></asp:Label>
             <br />
            <asp:Label ID="GoalsConditionLabel" runat="server" CssClass="green_subinstructiontextlabel"
             Text="<%$ Resources:Resource, MatchInstructions_GoalsConditions_AnywayString %>"></asp:Label>
            
        </td>
        <td style="width:50%">
            <div id="GoalsConditionSlider"></div>
        </td>
        </tr>
        </table>
        <table style="width:100%;" cellpadding="5">
        <tr>
        <td style="width:50%;">
        <div id="playerOutDiv">
            <asp:HiddenField ID="PlayerOutHiddenField" runat="server" Value="<%$ Resources:Resource, Global_PlayerOut %>" />
            <asp:HiddenField ID="PlayerHiddenField" runat="server" Value="<%$ Resources:Resource, Global_Player %>" />
            <table style="width:100%;">
            <tr>
            <td style="width:50%;">
                <asp:Label ID="PlayerOutTitleLabel" runat="server" CssClass="green_subinstructionlabel"></asp:Label>
            </td>
            <td style="width:50%;">
                <asp:DropDownList ID="PlayerOutDropDownList" runat="server" DataSourceID="PlayersDDLDataSource"
                 DataTextField="PlayerName" DataValueField="PlayerId" CssClass="rounded_corners" ></asp:DropDownList>
            </td>
            </tr>
            </table>
        </div>
        </td>
        <td style="width:50%;">
        <div id="playerInDiv">
            <table style="width:100%;">
            <tr>
            <td style="width:50%;">
                <asp:Label ID="PlayerInTitleLabel" runat="server" CssClass="green_subinstructionlabel"
                 Text="<%$ Resources:Resource, Global_PlayerIn %>"></asp:Label>
             </td>
             <td style="width:50%;">
                <asp:DropDownList ID="PlayerInDropDownList" runat="server" DataSourceID="PlayersDDLDataSource"
                 DataTextField="PlayerName" DataValueField="PlayerId" CssClass="rounded_corners"></asp:DropDownList>
             </td>
             </tr>
             </table>
        </div>
        </td>
        </tr>
        </table>
        <div id="playerChangeDiv">
            <table style="width:50%;" cellpadding="5">
            <tr>
            <td style="width:50%;">
                <asp:Label ID="NewPlayerPositionTitleLabel" runat="server" CssClass="green_subinstructionlabel"
                Text="<%$ Resources:Resource, Global_NewPosition %>"></asp:Label>
            </td>
            <td style="width:50%;">
                <asp:DropDownList ID="PlayerPositionBehaviourDropDownList" AppendDataBoundItems="true"
                    DataSourceID="GetPositionsDDLSqlDataSource" DataTextField="PositionName" DataValueField="PositionId"
                    runat="server" CssClass="rounded_corners">
                </asp:DropDownList>
            </td>
            </tr>
            <tr>
            <td>
                <asp:Label ID="NewPlayerInstructionTitleLabel" runat="server" CssClass="green_subinstructionlabel"
             Text="<%$ Resources:Resource, Global_NewInstruction %>"></asp:Label>
            </td>
            <td>                      
                <asp:DropDownList ID="PlayerInstructionDropDownList" AppendDataBoundItems="true"
                    DataSourceID="GetInstructionDDLSqlDataSourceWithZero" DataTextField="InstructionName"
                    DataValueField="InstructionId" runat="server" CssClass="rounded_corners">
                </asp:DropDownList> 
            </td>
            </tr>
            <tr>
            <td>
                <asp:Label ID="NewPlayerPreferredActionTitleLabel" runat="server" CssClass="green_subinstructionlabel"
                Text="<%$ Resources:Resource, MatchSubstitutionInstructions_NewPreferredActionLabel %>"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="PlayerPreferredActionBehaviourDropDownList" runat="server" CssClass="rounded_corners"
                    DataSourceID="PreferredActionDDLSqlDataSourceWithZero" DataTextField="ActionName" DataValueField="ActionId">
                </asp:DropDownList> 
            </td>
            </tr>
            </table>
        </div>
        <div id="teamChangeDiv">
            <table style="width:50%;" cellpadding="5">
            <tr>
            <td>
                <asp:Label ID="NewTeamAttitudeTitleLabel" runat="server" CssClass="green_subinstructionlabel"
                 Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAttituseBehaviourLabel %>"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="TeamNewAttitudeBehaviourDropDownList" AppendDataBoundItems="true" CssClass="rounded_corners"
                 DataSourceID="GetAttitudeDDLSqlDataSource" DataTextField="AttitudeName" DataValueField="AttitudeId" runat="server">
                </asp:DropDownList>
            </td>
            </tr>
            <tr>
            <td>
                <asp:Label ID="NewTeamAggressivenessTitleLabel" runat="server" CssClass="green_subinstructionlabel"
                 Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAggressivenessBehaviourLabel %>"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="TeamAggressivenessBehaviourDropDownList" AppendDataBoundItems="true"
                 DataSourceID="GetAggressivenessDDLSqlDataSource" DataTextField="AggressivenessName"
                 DataValueField="AggressivenessId" runat="server" CssClass="rounded_corners">
                </asp:DropDownList>
            </td>
            </tr>
            </table>
        </div>
        <asp:Button ID="SubmitSubstitutionButton" runat="server" CssClass="green_match_instr_button_active"
        Text="<%$ Resources:Resource, MatchSubstitutionInstructions_addNewSubstitutionLabel %>" OnClientClick="javascript:SubmitNewSub(); return false;" />
        &nbsp;
        <asp:Button ID="HideSubstitutionLinkButton" runat="server" CssClass="GreenSmallButtonStyle"
         Text="<%$ Resources:Resource, Global_Cancel %>" OnClientClick="javascript:CloseOpenDiv('NewSubstitution', 'AddNewSub'); return false;" />
    </div>
    <br /><br />
    <div id="existingSubstitutions">
        <div id="Substitution1" class="subinstructions_area padding5 rounded_corners">
            <table style="width:100%;">
            <tr>
            <td style="width:5%; vertical-align:middle; text-align:center;">
                <asp:HiddenField ID="Sub1TypeHiddenField" runat="server" Value="0" />
                <asp:HiddenField ID="Sub1TimeMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub1TimeMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub1PossessionMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub1PossessionMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub1ScoreMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub1ScoreMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub1YellowCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub1RedCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub1PlayerOutHiddenField" runat="server" />
                <asp:HiddenField ID="Sub1PlayerInHiddenField" runat="server" />
                <asp:HiddenField ID="Sub1NewPlayerPositionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub1NewPlayerInstructionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub1NewPlayerPreferredActionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub1NewTeamAttitudeHiddenField" runat="server" />
                <asp:HiddenField ID="Sub1NewTeamAggressivenessHiddenField" runat="server" />
                <asp:Label ID="Sub1NumberLabel" runat="server" Text="1" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:ImageButton ID="Sub1SwapDownImageButton" runat="server"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionDownText %>"
                 ImageUrl="~/Images/Icons/arrowDownGreen.png"
                 OnClientClick="javascript:MoveSubDown('1'); return false;"/>
            </td>
            <td style="width:45%; vertical-align:top;">                
                <asp:Label ID="Sub1TimeTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchInstructionsNew_SubtitiutionMinutesTitleLabel %>"></asp:Label>
                <br />
                <asp:Label ID="Sub1TimeLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub1PossessionTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchSubstitutionInstructions_PossessionConditionHeaderText %>"></asp:Label>
                <br />
                <asp:Label ID="Sub1PossessionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub1ScoreTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, Global_GoalsCondition %>"></asp:Label>
                <br />
                <asp:Label ID="Sub1ScoreLabel" runat="server" SkinID="GridLabel"></asp:Label>    
            </td>  
            <td style="width:45%; vertical-align:top;">
                <div id="Sub1PlayerOutArea">
                    <asp:Label ID="Sub1PlayerOutTitleLabel" runat="server" SkinID="InfoLabel"></asp:Label>
                    <asp:Label ID="Sub1PlayerOutLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
                <div id="Sub1PlayerInArea">
                    <asp:Label ID="Sub1PlayerInTitleLabel" runat="server" SkinID="InfoLabel"
                        Text="<%$ Resources:Resource, Global_PlayerIn %>"></asp:Label>
                    <asp:Label ID="Sub1PlayerInLabel" runat="server" SkinID="GridLabel" ></asp:Label>
                </div>
                <div id="Sub1PlayerChangeArea">
                    <asp:Label ID="Sub1NewPositionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewPosition %>"></asp:Label>
                    <asp:Label ID="Sub1NewPositionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub1NewInstructionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewInstruction %>"></asp:Label>
                    <asp:Label ID="Sub1NewInstructionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub1NewPreferredActionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_NewPreferredActionLabel %>"></asp:Label>
                    <asp:Label ID="Sub1NewPreferredActionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                </div>
                <div id="Sub1TeamArea">
                    <asp:Label ID="Sub1NewAttitudeTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAttituseBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub1NewAttitudeLabel" runat="server" SkinID="GridLabel"></asp:Label>     
                    <br />
                    <asp:Label ID="Sub1NewAggressivenessTitlelabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAggressivenessBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub1NewAggressivenessLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
            </td>     
            <td style="width:5%; vertical-align:middle;">
                <asp:ImageButton ID="Sub1DeleteSubstitutionImageButton" runat="server" ImageUrl="~/Images/Icons/delete.png"
                 ToolTip="<%$ Resources:Resource, Global_Delete %>"
                 OnClientClick="javascript:DeleteSubstitution('1'); return false;" />
            </td>    
            </tr>
            </table>
        </div>
        <div id="Substitution2" class="subinstructions_area padding5 rounded_corners">
            <table style="width:100%;">
            <tr>
            <td style="width:5%; vertical-align:middle; text-align:center;">
                <asp:HiddenField ID="Sub2TypeHiddenField" runat="server" Value="0" />
                <asp:HiddenField ID="Sub2TimeMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub2TimeMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub2PossessionMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub2PossessionMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub2ScoreMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub2ScoreMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub2YellowCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub2RedCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub2PlayerOutHiddenField" runat="server" />
                <asp:HiddenField ID="Sub2PlayerInHiddenField" runat="server" />
                <asp:HiddenField ID="Sub2NewPlayerPositionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub2NewPlayerInstructionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub2NewPlayerPreferredActionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub2NewTeamAttitudeHiddenField" runat="server" />
                <asp:HiddenField ID="Sub2NewTeamAggressivenessHiddenField" runat="server" />
                <asp:ImageButton ID="Sub2SwapUpImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowup.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionUpText %>"
                 OnClientClick="javascript:MoveSubUp('2'); return false;"/>
                 <br />
                <asp:Label ID="Sub2NumberLabel" runat="server" Text="2" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:ImageButton ID="Sub2SwapDownImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowDownGreen.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionDownText %>"
                 OnClientClick="javascript:MoveSubDown('2'); return false;"/>
            </td>
            <td style="width:45%; vertical-align:top;">                
                <asp:Label ID="Sub2TimeTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchInstructionsNew_SubtitiutionMinutesTitleLabel %>"></asp:Label>
                <br />
                <asp:Label ID="Sub2TimeLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub2PossessionTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchSubstitutionInstructions_PossessionConditionHeaderText %>"></asp:Label>
                <br />
                 <asp:Label ID="Sub2PossessionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub2ScoreTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, Global_GoalsCondition %>"></asp:Label>
                <br />
                <asp:Label ID="Sub2ScoreLabel" runat="server" SkinID="GridLabel"></asp:Label>    
            </td>  
            <td style="width:45%; vertical-align:top;">
                <div id="Sub2PlayerOutArea">
                    <asp:Label ID="Sub2PlayerOutTitleLabel" runat="server" SkinID="InfoLabel"></asp:Label>
                    <asp:Label ID="Sub2PlayerOutLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
                <div id="Sub2PlayerInArea">
                    <asp:Label ID="Sub2PlayerInTitleLabel" runat="server" SkinID="InfoLabel"
                        Text="<%$ Resources:Resource, Global_PlayerIn %>"></asp:Label>
                    <asp:Label ID="Sub2PlayerInLabel" runat="server" SkinID="GridLabel" ></asp:Label>
                </div>
                <div id="Sub2PlayerChangeArea">
                    <asp:Label ID="Sub2NewPositionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewPosition %>"></asp:Label>
                    <asp:Label ID="Sub2NewPositionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub2NewInstructionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewInstruction %>"></asp:Label>
                    <asp:Label ID="Sub2NewInstructionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub2NewPreferredActionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_NewPreferredActionLabel %>"></asp:Label>
                    <asp:Label ID="Sub2NewPreferredActionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                </div>
                <div id="Sub2TeamArea">
                    <asp:Label ID="Sub2NewAttitudeTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAttituseBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub2NewAttitudeLabel" runat="server" SkinID="GridLabel"></asp:Label>     
                    <br />
                    <asp:Label ID="Sub2NewAggressivenessTitlelabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAggressivenessBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub2NewAggressivenessLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
            </td>     
            <td style="width:5%; vertical-align:middle;">
                <asp:ImageButton ID="Sub2DeleteSubstitutionImageButton" runat="server" 
                ImageUrl="~/Images/Icons/delete.png"
                ToolTip="<%$ Resources:Resource, Global_Delete %>"
                 OnClientClick="javascript:DeleteSubstitution('2'); return false;" />
            </td>    
            </tr>
            </table>
        </div>
        <div id="Substitution3" class="subinstructions_area padding5 rounded_corners">
            <table style="width:100%;">
            <tr>
            <td style="width:5%; vertical-align:middle; text-align:center;">
                <asp:HiddenField ID="Sub3TypeHiddenField" runat="server" Value="0" />
                <asp:HiddenField ID="Sub3TimeMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub3TimeMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub3PossessionMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub3PossessionMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub3ScoreMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub3ScoreMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub3YellowCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub3RedCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub3PlayerOutHiddenField" runat="server" />
                <asp:HiddenField ID="Sub3PlayerInHiddenField" runat="server" />
                <asp:HiddenField ID="Sub3NewPlayerPositionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub3NewPlayerInstructionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub3NewPlayerPreferredActionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub3NewTeamAttitudeHiddenField" runat="server" />
                <asp:HiddenField ID="Sub3NewTeamAggressivenessHiddenField" runat="server" />
                <asp:ImageButton ID="Sub3SwapUpImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowup.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionUpText %>"
                 OnClientClick="javascript:MoveSubUp('3'); return false;"/>
                 <br />
                <asp:Label ID="Sub3NumberLabel" runat="server" Text="3" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:ImageButton ID="Sub3SwapDownImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowDownGreen.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionDownText %>"
                 OnClientClick="javascript:MoveSubDown('3'); return false;"/>
            </td>
            <td style="width:45%; vertical-align:top;">                
                <asp:Label ID="Sub3TimeTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchInstructionsNew_SubtitiutionMinutesTitleLabel %>"></asp:Label>
                <br />
                <asp:Label ID="Sub3TimeLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub3PossessionTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchSubstitutionInstructions_PossessionConditionHeaderText %>"></asp:Label>
                <br />
                 <asp:Label ID="Sub3PossessionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub3ScoreTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, Global_GoalsCondition %>"></asp:Label>
                <br />
                <asp:Label ID="Sub3ScoreLabel" runat="server" SkinID="GridLabel"></asp:Label>    
            </td>  
            <td style="width:45%; vertical-align:top;">
                <div id="Sub3PlayerOutArea">
                    <asp:Label ID="Sub3PlayerOutTitleLabel" runat="server" SkinID="InfoLabel"></asp:Label>
                    <asp:Label ID="Sub3PlayerOutLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
                <div id="Sub3PlayerInArea">
                    <asp:Label ID="Sub3PlayerInTitleLabel" runat="server" SkinID="InfoLabel"
                        Text="<%$ Resources:Resource, Global_PlayerIn %>"></asp:Label>
                    <asp:Label ID="Sub3PlayerInLabel" runat="server" SkinID="GridLabel" ></asp:Label>
                </div>
                <div id="Sub3PlayerChangeArea">
                    <asp:Label ID="Sub3NewPositionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewPosition %>"></asp:Label>
                    <asp:Label ID="Sub3NewPositionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub3NewInstructionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewInstruction %>"></asp:Label>
                    <asp:Label ID="Sub3NewInstructionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub3NewPreferredActionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_NewPreferredActionLabel %>"></asp:Label>
                    <asp:Label ID="Sub3NewPreferredActionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                </div>
                <div id="Sub3TeamArea">
                    <asp:Label ID="Sub3NewAttitudeTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAttituseBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub3NewAttitudeLabel" runat="server" SkinID="GridLabel"></asp:Label>     
                    <br />
                    <asp:Label ID="Sub3NewAggressivenessTitlelabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAggressivenessBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub3NewAggressivenessLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
            </td>     
            <td style="width:5%; vertical-align:middle;">
                <asp:ImageButton ID="Sub3DeleteSubstitutionImageButton" runat="server" 
                ImageUrl="~/Images/Icons/delete.png"
                ToolTip="<%$ Resources:Resource, Global_Delete %>"
                 OnClientClick="javascript:DeleteSubstitution('3'); return false;" />
            </td>    
            </tr>
            </table>
        </div>
        <div id="Substitution4" class="subinstructions_area padding5 rounded_corners">
            <table style="width:100%;">
            <tr>
            <td style="width:5%; vertical-align:middle; text-align:center;">
                <asp:HiddenField ID="Sub4TypeHiddenField" runat="server" Value="0" />
                <asp:HiddenField ID="Sub4TimeMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub4TimeMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub4PossessionMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub4PossessionMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub4ScoreMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub4ScoreMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub4YellowCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub4RedCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub4PlayerOutHiddenField" runat="server" />
                <asp:HiddenField ID="Sub4PlayerInHiddenField" runat="server" />
                <asp:HiddenField ID="Sub4NewPlayerPositionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub4NewPlayerInstructionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub4NewPlayerPreferredActionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub4NewTeamAttitudeHiddenField" runat="server" />
                <asp:HiddenField ID="Sub4NewTeamAggressivenessHiddenField" runat="server" />
                <asp:ImageButton ID="Sub4SwapUpImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowup.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionUpText %>"
                 OnClientClick="javascript:MoveSubUp('4'); return false;"/>
                 <br />
                <asp:Label ID="Sub4NumberLabel" runat="server" Text="4" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:ImageButton ID="Sub4SwapDownImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowDownGreen.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionDownText %>"
                 OnClientClick="javascript:MoveSubDown('4'); return false;"/>
            </td>
            <td style="width:45%; vertical-align:top;">                
                <asp:Label ID="Sub4TimeTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchInstructionsNew_SubtitiutionMinutesTitleLabel %>"></asp:Label>
                <br />
                <asp:Label ID="Sub4TimeLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub4PossessionTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchSubstitutionInstructions_PossessionConditionHeaderText %>"></asp:Label>
                <br />
                 <asp:Label ID="Sub4PossessionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub4ScoreTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, Global_GoalsCondition %>"></asp:Label>
                <br />
                <asp:Label ID="Sub4ScoreLabel" runat="server" SkinID="GridLabel"></asp:Label>    
            </td>  
            <td style="width:45%; vertical-align:top;">
                <div id="Sub4PlayerOutArea">
                    <asp:Label ID="Sub4PlayerOutTitleLabel" runat="server" SkinID="InfoLabel"></asp:Label>
                    <asp:Label ID="Sub4PlayerOutLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
                <div id="Sub4PlayerInArea">
                    <asp:Label ID="Sub4PlayerInTitleLabel" runat="server" SkinID="InfoLabel"
                        Text="<%$ Resources:Resource, Global_PlayerIn %>"></asp:Label>
                    <asp:Label ID="Sub4PlayerInLabel" runat="server" SkinID="GridLabel" ></asp:Label>
                </div>
                <div id="Sub4PlayerChangeArea">
                    <asp:Label ID="Sub4NewPositionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewPosition %>"></asp:Label>
                    <asp:Label ID="Sub4NewPositionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub4NewInstructionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewInstruction %>"></asp:Label>
                    <asp:Label ID="Sub4NewInstructionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub4NewPreferredActionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_NewPreferredActionLabel %>"></asp:Label>
                    <asp:Label ID="Sub4NewPreferredActionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                </div>
                <div id="Sub4TeamArea">
                    <asp:Label ID="Sub4NewAttitudeTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAttituseBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub4NewAttitudeLabel" runat="server" SkinID="GridLabel"></asp:Label>     
                    <br />
                    <asp:Label ID="Sub4NewAggressivenessTitlelabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAggressivenessBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub4NewAggressivenessLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
            </td>     
            <td style="width:5%; vertical-align:middle;">
                <asp:ImageButton ID="Sub4DeleteSubstitutionImageButton" runat="server" 
                ImageUrl="~/Images/Icons/delete.png"
                ToolTip="<%$ Resources:Resource, Global_Delete %>"
                 OnClientClick="javascript:DeleteSubstitution('4'); return false;" />
            </td>    
            </tr>
            </table>
        </div>
        <div id="Substitution5" class="subinstructions_area padding5 rounded_corners">
            <table style="width:100%;">
            <tr>
            <td style="width:5%; vertical-align:middle; text-align:center;">
                <asp:HiddenField ID="Sub5TypeHiddenField" runat="server" Value="0" />
                <asp:HiddenField ID="Sub5TimeMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub5TimeMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub5PossessionMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub5PossessionMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub5ScoreMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub5ScoreMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub5YellowCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub5RedCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub5PlayerOutHiddenField" runat="server" />
                <asp:HiddenField ID="Sub5PlayerInHiddenField" runat="server" />
                <asp:HiddenField ID="Sub5NewPlayerPositionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub5NewPlayerInstructionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub5NewPlayerPreferredActionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub5NewTeamAttitudeHiddenField" runat="server" />
                <asp:HiddenField ID="Sub5NewTeamAggressivenessHiddenField" runat="server" />
                <asp:ImageButton ID="Sub5SwapUpImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowup.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionUpText %>"
                 OnClientClick="javascript:MoveSubUp('5'); return false;"/>
                 <br />
                <asp:Label ID="Sub5NumberLabel" runat="server" Text="5" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:ImageButton ID="Sub5SwapDownImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowDownGreen.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionDownText %>"
                 OnClientClick="javascript:MoveSubDown('5'); return false;"/>
            </td>
            <td style="width:45%; vertical-align:top;">                
                <asp:Label ID="Sub5TimeTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchInstructionsNew_SubtitiutionMinutesTitleLabel %>"></asp:Label>
                <br />
                <asp:Label ID="Sub5TimeLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub5PossessionTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchSubstitutionInstructions_PossessionConditionHeaderText %>"></asp:Label>
                <br />
                 <asp:Label ID="Sub5PossessionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub5ScoreTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, Global_GoalsCondition %>"></asp:Label>
                <br />
                <asp:Label ID="Sub5ScoreLabel" runat="server" SkinID="GridLabel"></asp:Label>    
            </td>  
            <td style="width:45%; vertical-align:top;">
                <div id="Sub5PlayerOutArea">
                    <asp:Label ID="Sub5PlayerOutTitleLabel" runat="server" SkinID="InfoLabel"></asp:Label>
                    <asp:Label ID="Sub5PlayerOutLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
                <div id="Sub5PlayerInArea">
                    <asp:Label ID="Sub5PlayerInTitleLabel" runat="server" SkinID="InfoLabel"
                        Text="<%$ Resources:Resource, Global_PlayerIn %>"></asp:Label>
                    <asp:Label ID="Sub5PlayerInLabel" runat="server" SkinID="GridLabel" ></asp:Label>
                </div>
                <div id="Sub5PlayerChangeArea">
                    <asp:Label ID="Sub5NewPositionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewPosition %>"></asp:Label>
                    <asp:Label ID="Sub5NewPositionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub5NewInstructionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewInstruction %>"></asp:Label>
                    <asp:Label ID="Sub5NewInstructionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub5NewPreferredActionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_NewPreferredActionLabel %>"></asp:Label>
                    <asp:Label ID="Sub5NewPreferredActionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                </div>
                <div id="Sub5TeamArea">
                    <asp:Label ID="Sub5NewAttitudeTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAttituseBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub5NewAttitudeLabel" runat="server" SkinID="GridLabel"></asp:Label>     
                    <br />
                    <asp:Label ID="Sub5NewAggressivenessTitlelabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAggressivenessBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub5NewAggressivenessLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
            </td>     
            <td style="width:5%; vertical-align:middle;">
                <asp:ImageButton ID="Sub5DeleteSubstitutionImageButton" runat="server" 
                ImageUrl="~/Images/Icons/delete.png"
                ToolTip="<%$ Resources:Resource, Global_Delete %>"
                 OnClientClick="javascript:DeleteSubstitution('5'); return false;" />
            </td>    
            </tr>
            </table>
        </div>
        <div id="Substitution6" class="subinstructions_area padding5 rounded_corners">
            <table style="width:100%;">
            <tr>
            <td style="width:5%; vertical-align:middle; text-align:center;">
                <asp:HiddenField ID="Sub6TypeHiddenField" runat="server" Value="0" />
                <asp:HiddenField ID="Sub6TimeMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub6TimeMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub6PossessionMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub6PossessionMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub6ScoreMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub6ScoreMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub6YellowCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub6RedCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub6PlayerOutHiddenField" runat="server" />
                <asp:HiddenField ID="Sub6PlayerInHiddenField" runat="server" />
                <asp:HiddenField ID="Sub6NewPlayerPositionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub6NewPlayerInstructionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub6NewPlayerPreferredActionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub6NewTeamAttitudeHiddenField" runat="server" />
                <asp:HiddenField ID="Sub6NewTeamAggressivenessHiddenField" runat="server" />
                <asp:ImageButton ID="Sub6SwapUpImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowup.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionUpText %>"
                 OnClientClick="javascript:MoveSubUp('6'); return false;"/>
                 <br />
                <asp:Label ID="Sub6NumberLabel" runat="server" Text="6" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:ImageButton ID="Sub6SwapDownImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowDownGreen.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionDownText %>"
                 OnClientClick="javascript:MoveSubDown('6'); return false;"/>
            </td>
            <td style="width:45%; vertical-align:top;">                
                <asp:Label ID="Sub6TimeTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchInstructionsNew_SubtitiutionMinutesTitleLabel %>"></asp:Label>
                <br />
                <asp:Label ID="Sub6TimeLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub6PossessionTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchSubstitutionInstructions_PossessionConditionHeaderText %>"></asp:Label>
                <br />
                 <asp:Label ID="Sub6PossessionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub6ScoreTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, Global_GoalsCondition %>"></asp:Label>
                <br />
                <asp:Label ID="Sub6ScoreLabel" runat="server" SkinID="GridLabel"></asp:Label>    
            </td>  
            <td style="width:45%; vertical-align:top;">
                <div id="Sub6PlayerOutArea">
                    <asp:Label ID="Sub6PlayerOutTitleLabel" runat="server" SkinID="InfoLabel"></asp:Label>
                    <asp:Label ID="Sub6PlayerOutLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
                <div id="Sub6PlayerInArea">
                    <asp:Label ID="Sub6PlayerInTitleLabel" runat="server" SkinID="InfoLabel"
                        Text="<%$ Resources:Resource, Global_PlayerIn %>"></asp:Label>
                    <asp:Label ID="Sub6PlayerInLabel" runat="server" SkinID="GridLabel" ></asp:Label>
                </div>
                <div id="Sub6PlayerChangeArea">
                    <asp:Label ID="Sub6NewPositionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewPosition %>"></asp:Label>
                    <asp:Label ID="Sub6NewPositionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub6NewInstructionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewInstruction %>"></asp:Label>
                    <asp:Label ID="Sub6NewInstructionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub6NewPreferredActionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_NewPreferredActionLabel %>"></asp:Label>
                    <asp:Label ID="Sub6NewPreferredActionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                </div>
                <div id="Sub6TeamArea">
                    <asp:Label ID="Sub6NewAttitudeTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAttituseBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub6NewAttitudeLabel" runat="server" SkinID="GridLabel"></asp:Label>     
                    <br />
                    <asp:Label ID="Sub6NewAggressivenessTitlelabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAggressivenessBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub6NewAggressivenessLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
            </td>     
            <td style="width:5%; vertical-align:middle;">
                <asp:ImageButton ID="Sub6DeleteSubstitutionImageButton" runat="server" 
                ImageUrl="~/Images/Icons/delete.png"
                ToolTip="<%$ Resources:Resource, Global_Delete %>"
                 OnClientClick="javascript:DeleteSubstitution('6'); return false;" />
            </td>    
            </tr>
            </table>
        </div>
        <div id="Substitution7" class="subinstructions_area padding5 rounded_corners">
            <table style="width:100%;">
            <tr>
            <td style="width:5%; vertical-align:middle; text-align:center;">
                <asp:HiddenField ID="Sub7TypeHiddenField" runat="server" Value="0" />
                <asp:HiddenField ID="Sub7TimeMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub7TimeMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub7PossessionMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub7PossessionMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub7ScoreMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub7ScoreMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub7YellowCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub7RedCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub7PlayerOutHiddenField" runat="server" />
                <asp:HiddenField ID="Sub7PlayerInHiddenField" runat="server" />
                <asp:HiddenField ID="Sub7NewPlayerPositionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub7NewPlayerInstructionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub7NewPlayerPreferredActionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub7NewTeamAttitudeHiddenField" runat="server" />
                <asp:HiddenField ID="Sub7NewTeamAggressivenessHiddenField" runat="server" />
                <asp:ImageButton ID="Sub7SwapUpImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowup.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionUpText %>"
                 OnClientClick="javascript:MoveSubUp('7'); return false;"/>
                 <br />
                <asp:Label ID="Sub7NumberLabel" runat="server" Text="7" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:ImageButton ID="Sub7SwapDownImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowDownGreen.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionDownText %>"
                 OnClientClick="javascript:MoveSubDown('7'); return false;"/>
            </td>
            <td style="width:45%; vertical-align:top;">                
                <asp:Label ID="Sub7TimeTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchInstructionsNew_SubtitiutionMinutesTitleLabel %>"></asp:Label>
                <br />
                <asp:Label ID="Sub7TimeLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub7PossessionTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchSubstitutionInstructions_PossessionConditionHeaderText %>"></asp:Label>
                <br />
                 <asp:Label ID="Sub7PossessionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub7ScoreTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, Global_GoalsCondition %>"></asp:Label>
                <br />
                <asp:Label ID="Sub7ScoreLabel" runat="server" SkinID="GridLabel"></asp:Label>    
            </td>  
            <td style="width:45%; vertical-align:top;">
                <div id="Sub7PlayerOutArea">
                    <asp:Label ID="Sub7PlayerOutTitleLabel" runat="server" SkinID="InfoLabel"></asp:Label>
                    <asp:Label ID="Sub7PlayerOutLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
                <div id="Sub7PlayerInArea">
                    <asp:Label ID="Sub7PlayerInTitleLabel" runat="server" SkinID="InfoLabel"
                        Text="<%$ Resources:Resource, Global_PlayerIn %>"></asp:Label>
                    <asp:Label ID="Sub7PlayerInLabel" runat="server" SkinID="GridLabel" ></asp:Label>
                </div>
                <div id="Sub7PlayerChangeArea">
                    <asp:Label ID="Sub7NewPositionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewPosition %>"></asp:Label>
                    <asp:Label ID="Sub7NewPositionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub7NewInstructionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewInstruction %>"></asp:Label>
                    <asp:Label ID="Sub7NewInstructionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub7NewPreferredActionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_NewPreferredActionLabel %>"></asp:Label>
                    <asp:Label ID="Sub7NewPreferredActionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                </div>
                <div id="Sub7TeamArea">
                    <asp:Label ID="Sub7NewAttitudeTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAttituseBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub7NewAttitudeLabel" runat="server" SkinID="GridLabel"></asp:Label>     
                    <br />
                    <asp:Label ID="Sub7NewAggressivenessTitlelabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAggressivenessBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub7NewAggressivenessLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
            </td>     
            <td style="width:5%; vertical-align:middle;">
                <asp:ImageButton ID="Sub7DeleteSubstitutionImageButton" runat="server" 
                ImageUrl="~/Images/Icons/delete.png"
                ToolTip="<%$ Resources:Resource, Global_Delete %>"
                 OnClientClick="javascript:DeleteSubstitution('7'); return false;" />
            </td>    
            </tr>
            </table>
        </div>
        <div id="Substitution8" class="subinstructions_area padding5 rounded_corners">
            <table style="width:100%;">
            <tr>
            <td style="width:5%; vertical-align:middle; text-align:center;">
                <asp:HiddenField ID="Sub8TypeHiddenField" runat="server" Value="0" />
                <asp:HiddenField ID="Sub8TimeMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub8TimeMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub8PossessionMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub8PossessionMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub8ScoreMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub8ScoreMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub8YellowCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub8RedCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub8PlayerOutHiddenField" runat="server" />
                <asp:HiddenField ID="Sub8PlayerInHiddenField" runat="server" />
                <asp:HiddenField ID="Sub8NewPlayerPositionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub8NewPlayerInstructionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub8NewPlayerPreferredActionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub8NewTeamAttitudeHiddenField" runat="server" />
                <asp:HiddenField ID="Sub8NewTeamAggressivenessHiddenField" runat="server" />
                <asp:ImageButton ID="Sub8SwapUpImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowup.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionUpText %>"
                 OnClientClick="javascript:MoveSubUp('8'); return false;"/>
                 <br />
                <asp:Label ID="Sub8NumberLabel" runat="server" Text="8" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:ImageButton ID="Sub8SwapDownImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowDownGreen.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionDownText %>"
                 OnClientClick="javascript:MoveSubDown('8'); return false;"/>
            </td>
            <td style="width:45%; vertical-align:top;">                
                <asp:Label ID="Sub8TimeTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchInstructionsNew_SubtitiutionMinutesTitleLabel %>"></asp:Label>
                <br />
                <asp:Label ID="Sub8TimeLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub8PossessionTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchSubstitutionInstructions_PossessionConditionHeaderText %>"></asp:Label>
                <br />
                 <asp:Label ID="Sub8PossessionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub8ScoreTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, Global_GoalsCondition %>"></asp:Label>
                <br />
                <asp:Label ID="Sub8ScoreLabel" runat="server" SkinID="GridLabel"></asp:Label>    
            </td>  
            <td style="width:45%; vertical-align:top;">
                <div id="Sub8PlayerOutArea">
                    <asp:Label ID="Sub8PlayerOutTitleLabel" runat="server" SkinID="InfoLabel"></asp:Label>
                    <asp:Label ID="Sub8PlayerOutLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
                <div id="Sub8PlayerInArea">
                    <asp:Label ID="Sub8PlayerInTitleLabel" runat="server" SkinID="InfoLabel"
                        Text="<%$ Resources:Resource, Global_PlayerIn %>"></asp:Label>
                    <asp:Label ID="Sub8PlayerInLabel" runat="server" SkinID="GridLabel" ></asp:Label>
                </div>
                <div id="Sub8PlayerChangeArea">
                    <asp:Label ID="Sub8NewPositionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewPosition %>"></asp:Label>
                    <asp:Label ID="Sub8NewPositionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub8NewInstructionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewInstruction %>"></asp:Label>
                    <asp:Label ID="Sub8NewInstructionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub8NewPreferredActionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_NewPreferredActionLabel %>"></asp:Label>
                    <asp:Label ID="Sub8NewPreferredActionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                </div>
                <div id="Sub8TeamArea">
                    <asp:Label ID="Sub8NewAttitudeTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAttituseBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub8NewAttitudeLabel" runat="server" SkinID="GridLabel"></asp:Label>     
                    <br />
                    <asp:Label ID="Sub8NewAggressivenessTitlelabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAggressivenessBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub8NewAggressivenessLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
            </td>     
            <td style="width:5%; vertical-align:middle;">
                <asp:ImageButton ID="Sub8DeleteSubstitutionImageButton" runat="server" 
                ImageUrl="~/Images/Icons/delete.png"
                ToolTip="<%$ Resources:Resource, Global_Delete %>"
                 OnClientClick="javascript:DeleteSubstitution('8'); return false;" />
            </td>    
            </tr>
            </table>
        </div>
        <div id="Substitution9" class="subinstructions_area padding5 rounded_corners">
            <table style="width:100%;">
            <tr>
            <td style="width:5%; vertical-align:middle; text-align:center;">
                <asp:HiddenField ID="Sub9TypeHiddenField" runat="server" Value="0" />
                <asp:HiddenField ID="Sub9TimeMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub9TimeMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub9PossessionMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub9PossessionMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub9ScoreMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub9ScoreMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub9YellowCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub9RedCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub9PlayerOutHiddenField" runat="server" />
                <asp:HiddenField ID="Sub9PlayerInHiddenField" runat="server" />
                <asp:HiddenField ID="Sub9NewPlayerPositionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub9NewPlayerInstructionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub9NewPlayerPreferredActionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub9NewTeamAttitudeHiddenField" runat="server" />
                <asp:HiddenField ID="Sub9NewTeamAggressivenessHiddenField" runat="server" />
                <asp:ImageButton ID="Sub9SwapUpImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowup.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionUpText %>"
                 OnClientClick="javascript:MoveSubUp('9'); return false;"/>
                 <br />
                <asp:Label ID="Sub9NumberLabel" runat="server" Text="9" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:ImageButton ID="Sub9SwapDownImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowDownGreen.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionDownText %>"
                 OnClientClick="javascript:MoveSubDown('9'); return false;"/>
            </td>
            <td style="width:45%; vertical-align:top;">                
                <asp:Label ID="Sub9TimeTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchInstructionsNew_SubtitiutionMinutesTitleLabel %>"></asp:Label>
                <br />
                <asp:Label ID="Sub9TimeLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub9PossessionTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchSubstitutionInstructions_PossessionConditionHeaderText %>"></asp:Label>
                <br />
                 <asp:Label ID="Sub9PossessionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub9ScoreTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, Global_GoalsCondition %>"></asp:Label>
                <br />
                <asp:Label ID="Sub9ScoreLabel" runat="server" SkinID="GridLabel"></asp:Label>    
            </td>  
            <td style="width:45%; vertical-align:top;">
                <div id="Sub9PlayerOutArea">
                    <asp:Label ID="Sub9PlayerOutTitleLabel" runat="server" SkinID="InfoLabel"></asp:Label>
                    <asp:Label ID="Sub9PlayerOutLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
                <div id="Sub9PlayerInArea">
                    <asp:Label ID="Sub9PlayerInTitleLabel" runat="server" SkinID="InfoLabel"
                        Text="<%$ Resources:Resource, Global_PlayerIn %>"></asp:Label>
                    <asp:Label ID="Sub9PlayerInLabel" runat="server" SkinID="GridLabel" ></asp:Label>
                </div>
                <div id="Sub9PlayerChangeArea">
                    <asp:Label ID="Sub9NewPositionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewPosition %>"></asp:Label>
                    <asp:Label ID="Sub9NewPositionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub9NewInstructionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewInstruction %>"></asp:Label>
                    <asp:Label ID="Sub9NewInstructionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub9NewPreferredActionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_NewPreferredActionLabel %>"></asp:Label>
                    <asp:Label ID="Sub9NewPreferredActionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                </div>
                <div id="Sub9TeamArea">
                    <asp:Label ID="Sub9NewAttitudeTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAttituseBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub9NewAttitudeLabel" runat="server" SkinID="GridLabel"></asp:Label>     
                    <br />
                    <asp:Label ID="Sub9NewAggressivenessTitlelabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAggressivenessBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub9NewAggressivenessLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
            </td>     
            <td style="width:5%; vertical-align:middle;">
                <asp:ImageButton ID="Sub9DeleteSubstitutionImageButton" runat="server" 
                ImageUrl="~/Images/Icons/delete.png"
                ToolTip="<%$ Resources:Resource, Global_Delete %>"
                 OnClientClick="javascript:DeleteSubstitution('9'); return false;" />
            </td>    
            </tr>
            </table>
        </div>
        <div id="Substitution10" class="subinstructions_area padding5 rounded_corners">
            <table style="width:100%;">
            <tr>
            <td style="width:5%; vertical-align:middle; text-align:center;">
                <asp:HiddenField ID="Sub10TypeHiddenField" runat="server" Value="0" />
                <asp:HiddenField ID="Sub10TimeMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub10TimeMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub10PossessionMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub10PossessionMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub10ScoreMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub10ScoreMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub10YellowCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub10RedCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub10PlayerOutHiddenField" runat="server" />
                <asp:HiddenField ID="Sub10PlayerInHiddenField" runat="server" />
                <asp:HiddenField ID="Sub10NewPlayerPositionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub10NewPlayerInstructionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub10NewPlayerPreferredActionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub10NewTeamAttitudeHiddenField" runat="server" />
                <asp:HiddenField ID="Sub10NewTeamAggressivenessHiddenField" runat="server" />
                <asp:ImageButton ID="Sub10SwapUpImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowup.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionUpText %>"
                 OnClientClick="javascript:MoveSubUp('10'); return false;"/>
                 <br />
                <asp:Label ID="Sub10NumberLabel" runat="server" Text="10" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:ImageButton ID="Sub10SwapDownImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowDownGreen.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionDownText %>"
                 OnClientClick="javascript:MoveSubDown('10'); return false;"/>
            </td>
            <td style="width:45%; vertical-align:top;">                
                <asp:Label ID="Sub10TimeTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchInstructionsNew_SubtitiutionMinutesTitleLabel %>"></asp:Label>
                <br />
                <asp:Label ID="Sub10TimeLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub10PossessionTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchSubstitutionInstructions_PossessionConditionHeaderText %>"></asp:Label>
                <br />
                 <asp:Label ID="Sub10PossessionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub10ScoreTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, Global_GoalsCondition %>"></asp:Label>
                <br />
                <asp:Label ID="Sub10ScoreLabel" runat="server" SkinID="GridLabel"></asp:Label>    
            </td>  
            <td style="width:45%; vertical-align:top;">
                <div id="Sub10PlayerOutArea">
                    <asp:Label ID="Sub10PlayerOutTitleLabel" runat="server" SkinID="InfoLabel"></asp:Label>
                    <asp:Label ID="Sub10PlayerOutLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
                <div id="Sub10PlayerInArea">
                    <asp:Label ID="Sub10PlayerInTitleLabel" runat="server" SkinID="InfoLabel"
                        Text="<%$ Resources:Resource, Global_PlayerIn %>"></asp:Label>
                    <asp:Label ID="Sub10PlayerInLabel" runat="server" SkinID="GridLabel" ></asp:Label>
                </div>
                <div id="Sub10PlayerChangeArea">
                    <asp:Label ID="Sub10NewPositionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewPosition %>"></asp:Label>
                    <asp:Label ID="Sub10NewPositionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub10NewInstructionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewInstruction %>"></asp:Label>
                    <asp:Label ID="Sub10NewInstructionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub10NewPreferredActionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_NewPreferredActionLabel %>"></asp:Label>
                    <asp:Label ID="Sub10NewPreferredActionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                </div>
                <div id="Sub10TeamArea">
                    <asp:Label ID="Sub10NewAttitudeTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAttituseBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub10NewAttitudeLabel" runat="server" SkinID="GridLabel"></asp:Label>     
                    <br />
                    <asp:Label ID="Sub10NewAggressivenessTitlelabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAggressivenessBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub10NewAggressivenessLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
            </td>     
            <td style="width:5%; vertical-align:middle;">
                <asp:ImageButton ID="Sub10DeleteSubstitutionImageButton" runat="server" 
                ImageUrl="~/Images/Icons/delete.png"
                ToolTip="<%$ Resources:Resource, Global_Delete %>"
                 OnClientClick="javascript:DeleteSubstitution('10'); return false;" />
            </td>    
            </tr>
            </table>
        </div>
        <div id="Substitution11" class="subinstructions_area padding5 rounded_corners">
            <table style="width:100%;">
            <tr>
            <td style="width:5%; vertical-align:middle; text-align:center;">
                <asp:HiddenField ID="Sub11TypeHiddenField" runat="server" Value="0" />
                <asp:HiddenField ID="Sub11TimeMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub11TimeMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub11PossessionMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub11PossessionMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub11ScoreMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub11ScoreMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub11YellowCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub11RedCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub11PlayerOutHiddenField" runat="server" />
                <asp:HiddenField ID="Sub11PlayerInHiddenField" runat="server" />
                <asp:HiddenField ID="Sub11NewPlayerPositionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub11NewPlayerInstructionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub11NewPlayerPreferredActionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub11NewTeamAttitudeHiddenField" runat="server" />
                <asp:HiddenField ID="Sub11NewTeamAggressivenessHiddenField" runat="server" />
                <asp:ImageButton ID="Sub11SwapUpImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowup.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionUpText %>"
                 OnClientClick="javascript:MoveSubUp('11'); return false;"/>
                 <br />
                <asp:Label ID="Sub11NumberLabel" runat="server" Text="11" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:ImageButton ID="Sub11SwapDownImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowDownGreen.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionDownText %>"
                 OnClientClick="javascript:MoveSubDown('11'); return false;"/>
            </td>
            <td style="width:45%; vertical-align:top;">                
                <asp:Label ID="Sub11TimeTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchInstructionsNew_SubtitiutionMinutesTitleLabel %>"></asp:Label>
                <br />
                <asp:Label ID="Sub11TimeLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub11PossessionTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchSubstitutionInstructions_PossessionConditionHeaderText %>"></asp:Label>
                <br />
                 <asp:Label ID="Sub11PossessionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub11ScoreTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, Global_GoalsCondition %>"></asp:Label>
                <br />
                <asp:Label ID="Sub11ScoreLabel" runat="server" SkinID="GridLabel"></asp:Label>    
            </td>  
            <td style="width:45%; vertical-align:top;">
                <div id="Sub11PlayerOutArea">
                    <asp:Label ID="Sub11PlayerOutTitleLabel" runat="server" SkinID="InfoLabel"></asp:Label>
                    <asp:Label ID="Sub11PlayerOutLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
                <div id="Sub11PlayerInArea">
                    <asp:Label ID="Sub11PlayerInTitleLabel" runat="server" SkinID="InfoLabel"
                        Text="<%$ Resources:Resource, Global_PlayerIn %>"></asp:Label>
                    <asp:Label ID="Sub11PlayerInLabel" runat="server" SkinID="GridLabel" ></asp:Label>
                </div>
                <div id="Sub11PlayerChangeArea">
                    <asp:Label ID="Sub11NewPositionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewPosition %>"></asp:Label>
                    <asp:Label ID="Sub11NewPositionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub11NewInstructionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewInstruction %>"></asp:Label>
                    <asp:Label ID="Sub11NewInstructionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub11NewPreferredActionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_NewPreferredActionLabel %>"></asp:Label>
                    <asp:Label ID="Sub11NewPreferredActionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                </div>
                <div id="Sub11TeamArea">
                    <asp:Label ID="Sub11NewAttitudeTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAttituseBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub11NewAttitudeLabel" runat="server" SkinID="GridLabel"></asp:Label>     
                    <br />
                    <asp:Label ID="Sub11NewAggressivenessTitlelabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAggressivenessBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub11NewAggressivenessLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
            </td>     
            <td style="width:5%; vertical-align:middle;">
                <asp:ImageButton ID="Sub11DeleteSubstitutionImageButton" runat="server" 
                ImageUrl="~/Images/Icons/delete.png"
                ToolTip="<%$ Resources:Resource, Global_Delete %>"
                 OnClientClick="javascript:DeleteSubstitution('11'); return false;" />
            </td>    
            </tr>
            </table>
        </div>
        <div id="Substitution12" class="subinstructions_area padding5 rounded_corners">
            <table style="width:100%;">
            <tr>
            <td style="width:5%; vertical-align:middle; text-align:center;">
                <asp:HiddenField ID="Sub12TypeHiddenField" runat="server" Value="0" />
                <asp:HiddenField ID="Sub12TimeMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub12TimeMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub12PossessionMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub12PossessionMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub12ScoreMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub12ScoreMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub12YellowCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub12RedCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub12PlayerOutHiddenField" runat="server" />
                <asp:HiddenField ID="Sub12PlayerInHiddenField" runat="server" />
                <asp:HiddenField ID="Sub12NewPlayerPositionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub12NewPlayerInstructionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub12NewPlayerPreferredActionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub12NewTeamAttitudeHiddenField" runat="server" />
                <asp:HiddenField ID="Sub12NewTeamAggressivenessHiddenField" runat="server" />
                <asp:ImageButton ID="Sub12SwapUpImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowup.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionUpText %>"
                 OnClientClick="javascript:MoveSubUp('12'); return false;"/>
                 <br />
                <asp:Label ID="Sub12NumberLabel" runat="server" Text="12" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:ImageButton ID="Sub12SwapDownImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowDownGreen.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionDownText %>"
                 OnClientClick="javascript:MoveSubDown('12'); return false;"/>
            </td>
            <td style="width:45%; vertical-align:top;">                
                <asp:Label ID="Sub12TimeTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchInstructionsNew_SubtitiutionMinutesTitleLabel %>"></asp:Label>
                <br />
                <asp:Label ID="Sub12TimeLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub12PossessionTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchSubstitutionInstructions_PossessionConditionHeaderText %>"></asp:Label>
                <br />
                 <asp:Label ID="Sub12PossessionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub12ScoreTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, Global_GoalsCondition %>"></asp:Label>
                <br />
                <asp:Label ID="Sub12ScoreLabel" runat="server" SkinID="GridLabel"></asp:Label>    
            </td>  
            <td style="width:45%; vertical-align:top;">
                <div id="Sub12PlayerOutArea">
                    <asp:Label ID="Sub12PlayerOutTitleLabel" runat="server" SkinID="InfoLabel"></asp:Label>
                    <asp:Label ID="Sub12PlayerOutLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
                <div id="Sub12PlayerInArea">
                    <asp:Label ID="Sub12PlayerInTitleLabel" runat="server" SkinID="InfoLabel"
                        Text="<%$ Resources:Resource, Global_PlayerIn %>"></asp:Label>
                    <asp:Label ID="Sub12PlayerInLabel" runat="server" SkinID="GridLabel" ></asp:Label>
                </div>
                <div id="Sub12PlayerChangeArea">
                    <asp:Label ID="Sub12NewPositionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewPosition %>"></asp:Label>
                    <asp:Label ID="Sub12NewPositionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub12NewInstructionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewInstruction %>"></asp:Label>
                    <asp:Label ID="Sub12NewInstructionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub12NewPreferredActionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_NewPreferredActionLabel %>"></asp:Label>
                    <asp:Label ID="Sub12NewPreferredActionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                </div>
                <div id="Sub12TeamArea">
                    <asp:Label ID="Sub12NewAttitudeTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAttituseBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub12NewAttitudeLabel" runat="server" SkinID="GridLabel"></asp:Label>     
                    <br />
                    <asp:Label ID="Sub12NewAggressivenessTitlelabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAggressivenessBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub12NewAggressivenessLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
            </td>     
            <td style="width:5%; vertical-align:middle;">
                <asp:ImageButton ID="Sub12DeleteSubstitutionImageButton" runat="server" 
                ImageUrl="~/Images/Icons/delete.png"
                ToolTip="<%$ Resources:Resource, Global_Delete %>"
                 OnClientClick="javascript:DeleteSubstitution('12'); return false;" />
            </td>    
            </tr>
            </table>
        </div>
        <div id="Substitution13" class="subinstructions_area padding5 rounded_corners">
            <table style="width:100%;">
            <tr>
            <td style="width:5%; vertical-align:middle; text-align:center;">
                <asp:HiddenField ID="Sub13TypeHiddenField" runat="server" Value="0" />
                <asp:HiddenField ID="Sub13TimeMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub13TimeMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub13PossessionMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub13PossessionMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub13ScoreMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub13ScoreMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub13YellowCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub13RedCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub13PlayerOutHiddenField" runat="server" />
                <asp:HiddenField ID="Sub13PlayerInHiddenField" runat="server" />
                <asp:HiddenField ID="Sub13NewPlayerPositionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub13NewPlayerInstructionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub13NewPlayerPreferredActionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub13NewTeamAttitudeHiddenField" runat="server" />
                <asp:HiddenField ID="Sub13NewTeamAggressivenessHiddenField" runat="server" />
                <asp:ImageButton ID="Sub13SwapUpImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowup.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionUpText %>"
                 OnClientClick="javascript:MoveSubUp('13'); return false;"/>
                 <br />
                <asp:Label ID="Sub13NumberLabel" runat="server" Text="13" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:ImageButton ID="Sub13SwapDownImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowDownGreen.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionDownText %>"
                 OnClientClick="javascript:MoveSubDown('13'); return false;"/>
            </td>
            <td style="width:45%; vertical-align:top;">                
                <asp:Label ID="Sub13TimeTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchInstructionsNew_SubtitiutionMinutesTitleLabel %>"></asp:Label>
                <br />
                <asp:Label ID="Sub13TimeLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub13PossessionTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchSubstitutionInstructions_PossessionConditionHeaderText %>"></asp:Label>
                <br />
                 <asp:Label ID="Sub13PossessionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub13ScoreTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, Global_GoalsCondition %>"></asp:Label>
                <br />
                <asp:Label ID="Sub13ScoreLabel" runat="server" SkinID="GridLabel"></asp:Label>    
            </td>  
            <td style="width:45%; vertical-align:top;">
                <div id="Sub13PlayerOutArea">
                    <asp:Label ID="Sub13PlayerOutTitleLabel" runat="server" SkinID="InfoLabel"></asp:Label>
                    <asp:Label ID="Sub13PlayerOutLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
                <div id="Sub13PlayerInArea">
                    <asp:Label ID="Sub13PlayerInTitleLabel" runat="server" SkinID="InfoLabel"
                        Text="<%$ Resources:Resource, Global_PlayerIn %>"></asp:Label>
                    <asp:Label ID="Sub13PlayerInLabel" runat="server" SkinID="GridLabel" ></asp:Label>
                </div>
                <div id="Sub13PlayerChangeArea">
                    <asp:Label ID="Sub13NewPositionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewPosition %>"></asp:Label>
                    <asp:Label ID="Sub13NewPositionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub13NewInstructionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewInstruction %>"></asp:Label>
                    <asp:Label ID="Sub13NewInstructionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub13NewPreferredActionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_NewPreferredActionLabel %>"></asp:Label>
                    <asp:Label ID="Sub13NewPreferredActionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                </div>
                <div id="Sub13TeamArea">
                    <asp:Label ID="Sub13NewAttitudeTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAttituseBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub13NewAttitudeLabel" runat="server" SkinID="GridLabel"></asp:Label>     
                    <br />
                    <asp:Label ID="Sub13NewAggressivenessTitlelabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAggressivenessBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub13NewAggressivenessLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
            </td>     
            <td style="width:5%; vertical-align:middle;">
                <asp:ImageButton ID="Sub13DeleteSubstitutionImageButton" runat="server" 
                ImageUrl="~/Images/Icons/delete.png"
                ToolTip="<%$ Resources:Resource, Global_Delete %>"
                 OnClientClick="javascript:DeleteSubstitution('13'); return false;" />
            </td>    
            </tr>
            </table>
        </div>
        <div id="Substitution14" class="subinstructions_area padding5 rounded_corners">
            <table style="width:100%;">
            <tr>
            <td style="width:5%; vertical-align:middle; text-align:center;">
                <asp:HiddenField ID="Sub14TypeHiddenField" runat="server" Value="0" />
                <asp:HiddenField ID="Sub14TimeMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub14TimeMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub14PossessionMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub14PossessionMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub14ScoreMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub14ScoreMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub14YellowCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub14RedCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub14PlayerOutHiddenField" runat="server" />
                <asp:HiddenField ID="Sub14PlayerInHiddenField" runat="server" />
                <asp:HiddenField ID="Sub14NewPlayerPositionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub14NewPlayerInstructionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub14NewPlayerPreferredActionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub14NewTeamAttitudeHiddenField" runat="server" />
                <asp:HiddenField ID="Sub14NewTeamAggressivenessHiddenField" runat="server" />
                <asp:ImageButton ID="Sub14SwapUpImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowup.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionUpText %>"
                 OnClientClick="javascript:MoveSubUp('14'); return false;"/>
                 <br />
                <asp:Label ID="Sub14NumberLabel" runat="server" Text="14" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:ImageButton ID="Sub14SwapDownImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowDownGreen.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionDownText %>"
                 OnClientClick="javascript:MoveSubDown('14'); return false;"/>
            </td>
            <td style="width:45%; vertical-align:top;">                
                <asp:Label ID="Sub14TimeTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchInstructionsNew_SubtitiutionMinutesTitleLabel %>"></asp:Label>
                <br />
                <asp:Label ID="Sub14TimeLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub14PossessionTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchSubstitutionInstructions_PossessionConditionHeaderText %>"></asp:Label>
                <br />
                 <asp:Label ID="Sub14PossessionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub14ScoreTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, Global_GoalsCondition %>"></asp:Label>
                <br />
                <asp:Label ID="Sub14ScoreLabel" runat="server" SkinID="GridLabel"></asp:Label>    
            </td>  
            <td style="width:45%; vertical-align:top;">
                <div id="Sub14PlayerOutArea">
                    <asp:Label ID="Sub14PlayerOutTitleLabel" runat="server" SkinID="InfoLabel"></asp:Label>
                    <asp:Label ID="Sub14PlayerOutLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
                <div id="Sub14PlayerInArea">
                    <asp:Label ID="Sub14PlayerInTitleLabel" runat="server" SkinID="InfoLabel"
                        Text="<%$ Resources:Resource, Global_PlayerIn %>"></asp:Label>
                    <asp:Label ID="Sub14PlayerInLabel" runat="server" SkinID="GridLabel" ></asp:Label>
                </div>
                <div id="Sub14PlayerChangeArea">
                    <asp:Label ID="Sub14NewPositionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewPosition %>"></asp:Label>
                    <asp:Label ID="Sub14NewPositionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub14NewInstructionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewInstruction %>"></asp:Label>
                    <asp:Label ID="Sub14NewInstructionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub14NewPreferredActionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_NewPreferredActionLabel %>"></asp:Label>
                    <asp:Label ID="Sub14NewPreferredActionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                </div>
                <div id="Sub14TeamArea">
                    <asp:Label ID="Sub14NewAttitudeTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAttituseBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub14NewAttitudeLabel" runat="server" SkinID="GridLabel"></asp:Label>     
                    <br />
                    <asp:Label ID="Sub14NewAggressivenessTitlelabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAggressivenessBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub14NewAggressivenessLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
            </td>     
            <td style="width:5%; vertical-align:middle;">
                <asp:ImageButton ID="Sub14DeleteSubstitutionImageButton" runat="server" 
                ImageUrl="~/Images/Icons/delete.png"
                ToolTip="<%$ Resources:Resource, Global_Delete %>"
                 OnClientClick="javascript:DeleteSubstitution('14'); return false;" />
            </td>    
            </tr>
            </table>
        </div>
        <div id="Substitution15" class="subinstructions_area padding5 rounded_corners">
            <table style="width:100%;">
            <tr>
            <td style="width:5%; vertical-align:middle; text-align:center;">
                <asp:HiddenField ID="Sub15TypeHiddenField" runat="server" Value="0" />
                <asp:HiddenField ID="Sub15TimeMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub15TimeMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub15PossessionMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub15PossessionMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub15ScoreMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub15ScoreMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub15YellowCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub15RedCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub15PlayerOutHiddenField" runat="server" />
                <asp:HiddenField ID="Sub15PlayerInHiddenField" runat="server" />
                <asp:HiddenField ID="Sub15NewPlayerPositionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub15NewPlayerInstructionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub15NewPlayerPreferredActionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub15NewTeamAttitudeHiddenField" runat="server" />
                <asp:HiddenField ID="Sub15NewTeamAggressivenessHiddenField" runat="server" />
                <asp:ImageButton ID="Sub15SwapUpImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowup.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionUpText %>"
                 OnClientClick="javascript:MoveSubUp('15'); return false;"/>
                 <br />
                <asp:Label ID="Sub15NumberLabel" runat="server" Text="15" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:ImageButton ID="Sub15SwapDownImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowDownGreen.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionDownText %>"
                 OnClientClick="javascript:MoveSubDown('15'); return false;"/>
            </td>
            <td style="width:45%; vertical-align:top;">                
                <asp:Label ID="Sub15TimeTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchInstructionsNew_SubtitiutionMinutesTitleLabel %>"></asp:Label>
                <br />
                <asp:Label ID="Sub15TimeLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub15PossessionTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchSubstitutionInstructions_PossessionConditionHeaderText %>"></asp:Label>
                <br />
                 <asp:Label ID="Sub15PossessionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub15ScoreTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, Global_GoalsCondition %>"></asp:Label>
                <br />
                <asp:Label ID="Sub15ScoreLabel" runat="server" SkinID="GridLabel"></asp:Label>    
            </td>  
            <td style="width:45%; vertical-align:top;">
                <div id="Sub15PlayerOutArea">
                    <asp:Label ID="Sub15PlayerOutTitleLabel" runat="server" SkinID="InfoLabel"></asp:Label>
                    <asp:Label ID="Sub15PlayerOutLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
                <div id="Sub15PlayerInArea">
                    <asp:Label ID="Sub15PlayerInTitleLabel" runat="server" SkinID="InfoLabel"
                        Text="<%$ Resources:Resource, Global_PlayerIn %>"></asp:Label>
                    <asp:Label ID="Sub15PlayerInLabel" runat="server" SkinID="GridLabel" ></asp:Label>
                </div>
                <div id="Sub15PlayerChangeArea">
                    <asp:Label ID="Sub15NewPositionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewPosition %>"></asp:Label>
                    <asp:Label ID="Sub15NewPositionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub15NewInstructionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewInstruction %>"></asp:Label>
                    <asp:Label ID="Sub15NewInstructionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub15NewPreferredActionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_NewPreferredActionLabel %>"></asp:Label>
                    <asp:Label ID="Sub15NewPreferredActionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                </div>
                <div id="Sub15TeamArea">
                    <asp:Label ID="Sub15NewAttitudeTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAttituseBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub15NewAttitudeLabel" runat="server" SkinID="GridLabel"></asp:Label>     
                    <br />
                    <asp:Label ID="Sub15NewAggressivenessTitlelabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAggressivenessBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub15NewAggressivenessLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
            </td>     
            <td style="width:5%; vertical-align:middle;">
                <asp:ImageButton ID="Sub15DeleteSubstitutionImageButton" runat="server" 
                ImageUrl="~/Images/Icons/delete.png"
                ToolTip="<%$ Resources:Resource, Global_Delete %>"
                 OnClientClick="javascript:DeleteSubstitution('15'); return false;" />
            </td>    
            </tr>
            </table>
        </div>
        <div id="Substitution16" class="subinstructions_area padding5 rounded_corners">
            <table style="width:100%;">
            <tr>
            <td style="width:5%; vertical-align:middle; text-align:center;">
                <asp:HiddenField ID="Sub16TypeHiddenField" runat="server" Value="0" />
                <asp:HiddenField ID="Sub16TimeMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub16TimeMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub16PossessionMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub16PossessionMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub16ScoreMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub16ScoreMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub16YellowCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub16RedCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub16PlayerOutHiddenField" runat="server" />
                <asp:HiddenField ID="Sub16PlayerInHiddenField" runat="server" />
                <asp:HiddenField ID="Sub16NewPlayerPositionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub16NewPlayerInstructionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub16NewPlayerPreferredActionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub16NewTeamAttitudeHiddenField" runat="server" />
                <asp:HiddenField ID="Sub16NewTeamAggressivenessHiddenField" runat="server" />
                <asp:ImageButton ID="Sub16SwapUpImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowup.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionUpText %>"
                 OnClientClick="javascript:MoveSubUp('16'); return false;"/>
                 <br />
                <asp:Label ID="Sub16NumberLabel" runat="server" Text="16" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:ImageButton ID="Sub16SwapDownImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowDownGreen.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionDownText %>"
                 OnClientClick="javascript:MoveSubDown('16'); return false;"/>
            </td>
            <td style="width:45%; vertical-align:top;">                
                <asp:Label ID="Sub16TimeTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchInstructionsNew_SubtitiutionMinutesTitleLabel %>"></asp:Label>
                <br />
                <asp:Label ID="Sub16TimeLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub16PossessionTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchSubstitutionInstructions_PossessionConditionHeaderText %>"></asp:Label>
                <br />
                 <asp:Label ID="Sub16PossessionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub16ScoreTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, Global_GoalsCondition %>"></asp:Label>
                <br />
                <asp:Label ID="Sub16ScoreLabel" runat="server" SkinID="GridLabel"></asp:Label>    
            </td>  
            <td style="width:45%; vertical-align:top;">
                <div id="Sub16PlayerOutArea">
                    <asp:Label ID="Sub16PlayerOutTitleLabel" runat="server" SkinID="InfoLabel"></asp:Label>
                    <asp:Label ID="Sub16PlayerOutLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
                <div id="Sub16PlayerInArea">
                    <asp:Label ID="Sub16PlayerInTitleLabel" runat="server" SkinID="InfoLabel"
                        Text="<%$ Resources:Resource, Global_PlayerIn %>"></asp:Label>
                    <asp:Label ID="Sub16PlayerInLabel" runat="server" SkinID="GridLabel" ></asp:Label>
                </div>
                <div id="Sub16PlayerChangeArea">
                    <asp:Label ID="Sub16NewPositionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewPosition %>"></asp:Label>
                    <asp:Label ID="Sub16NewPositionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub16NewInstructionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewInstruction %>"></asp:Label>
                    <asp:Label ID="Sub16NewInstructionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub16NewPreferredActionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_NewPreferredActionLabel %>"></asp:Label>
                    <asp:Label ID="Sub16NewPreferredActionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                </div>
                <div id="Sub16TeamArea">
                    <asp:Label ID="Sub16NewAttitudeTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAttituseBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub16NewAttitudeLabel" runat="server" SkinID="GridLabel"></asp:Label>     
                    <br />
                    <asp:Label ID="Sub16NewAggressivenessTitlelabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAggressivenessBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub16NewAggressivenessLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
            </td>     
            <td style="width:5%; vertical-align:middle;">
                <asp:ImageButton ID="Sub16DeleteSubstitutionImageButton" runat="server" 
                ImageUrl="~/Images/Icons/delete.png"
                ToolTip="<%$ Resources:Resource, Global_Delete %>"
                 OnClientClick="javascript:DeleteSubstitution('16'); return false;" />
            </td>    
            </tr>
            </table>
        </div>
        <div id="Substitution17" class="subinstructions_area padding5 rounded_corners">
            <table style="width:100%;">
            <tr>
            <td style="width:5%; vertical-align:middle; text-align:center;">
                <asp:HiddenField ID="Sub17TypeHiddenField" runat="server" Value="0" />
                <asp:HiddenField ID="Sub17TimeMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub17TimeMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub17PossessionMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub17PossessionMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub17ScoreMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub17ScoreMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub17YellowCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub17RedCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub17PlayerOutHiddenField" runat="server" />
                <asp:HiddenField ID="Sub17PlayerInHiddenField" runat="server" />
                <asp:HiddenField ID="Sub17NewPlayerPositionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub17NewPlayerInstructionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub17NewPlayerPreferredActionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub17NewTeamAttitudeHiddenField" runat="server" />
                <asp:HiddenField ID="Sub17NewTeamAggressivenessHiddenField" runat="server" />
                <asp:ImageButton ID="Sub17SwapUpImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowup.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionUpText %>"
                 OnClientClick="javascript:MoveSubUp('17'); return false;"/>
                 <br />
                <asp:Label ID="Sub17NumberLabel" runat="server" Text="17" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:ImageButton ID="Sub17SwapDownImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowDownGreen.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionDownText %>"
                 OnClientClick="javascript:MoveSubDown('17'); return false;"/>
            </td>
            <td style="width:45%; vertical-align:top;">                
                <asp:Label ID="Sub17TimeTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchInstructionsNew_SubtitiutionMinutesTitleLabel %>"></asp:Label>
                <br />
                <asp:Label ID="Sub17TimeLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub17PossessionTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchSubstitutionInstructions_PossessionConditionHeaderText %>"></asp:Label>
                <br />
                 <asp:Label ID="Sub17PossessionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub17ScoreTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, Global_GoalsCondition %>"></asp:Label>
                <br />
                <asp:Label ID="Sub17ScoreLabel" runat="server" SkinID="GridLabel"></asp:Label>    
            </td>  
            <td style="width:45%; vertical-align:top;">
                <div id="Sub17PlayerOutArea">
                    <asp:Label ID="Sub17PlayerOutTitleLabel" runat="server" SkinID="InfoLabel"></asp:Label>
                    <asp:Label ID="Sub17PlayerOutLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
                <div id="Sub17PlayerInArea">
                    <asp:Label ID="Sub17PlayerInTitleLabel" runat="server" SkinID="InfoLabel"
                        Text="<%$ Resources:Resource, Global_PlayerIn %>"></asp:Label>
                    <asp:Label ID="Sub17PlayerInLabel" runat="server" SkinID="GridLabel" ></asp:Label>
                </div>
                <div id="Sub17PlayerChangeArea">
                    <asp:Label ID="Sub17NewPositionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewPosition %>"></asp:Label>
                    <asp:Label ID="Sub17NewPositionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub17NewInstructionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewInstruction %>"></asp:Label>
                    <asp:Label ID="Sub17NewInstructionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub17NewPreferredActionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_NewPreferredActionLabel %>"></asp:Label>
                    <asp:Label ID="Sub17NewPreferredActionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                </div>
                <div id="Sub17TeamArea">
                    <asp:Label ID="Sub17NewAttitudeTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAttituseBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub17NewAttitudeLabel" runat="server" SkinID="GridLabel"></asp:Label>     
                    <br />
                    <asp:Label ID="Sub17NewAggressivenessTitlelabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAggressivenessBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub17NewAggressivenessLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
            </td>     
            <td style="width:5%; vertical-align:middle;">
                <asp:ImageButton ID="Sub17DeleteSubstitutionImageButton" runat="server" 
                ImageUrl="~/Images/Icons/delete.png"
                ToolTip="<%$ Resources:Resource, Global_Delete %>"
                 OnClientClick="javascript:DeleteSubstitution('17'); return false;" />
            </td>    
            </tr>
            </table>
        </div>
        <div id="Substitution18" class="subinstructions_area padding5 rounded_corners">
            <table style="width:100%;">
            <tr>
            <td style="width:5%; vertical-align:middle; text-align:center;">
                <asp:HiddenField ID="Sub18TypeHiddenField" runat="server" Value="0" />
                <asp:HiddenField ID="Sub18TimeMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub18TimeMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub18PossessionMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub18PossessionMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub18ScoreMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub18ScoreMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub18YellowCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub18RedCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub18PlayerOutHiddenField" runat="server" />
                <asp:HiddenField ID="Sub18PlayerInHiddenField" runat="server" />
                <asp:HiddenField ID="Sub18NewPlayerPositionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub18NewPlayerInstructionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub18NewPlayerPreferredActionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub18NewTeamAttitudeHiddenField" runat="server" />
                <asp:HiddenField ID="Sub18NewTeamAggressivenessHiddenField" runat="server" />
                <asp:ImageButton ID="Sub18SwapUpImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowup.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionUpText %>"
                 OnClientClick="javascript:MoveSubUp('18'); return false;"/>
                 <br />
                <asp:Label ID="Sub18NumberLabel" runat="server" Text="18" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:ImageButton ID="Sub18SwapDownImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowDownGreen.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionDownText %>"
                 OnClientClick="javascript:MoveSubDown('18'); return false;"/>
            </td>
            <td style="width:45%; vertical-align:top;">                
                <asp:Label ID="Sub18TimeTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchInstructionsNew_SubtitiutionMinutesTitleLabel %>"></asp:Label>
                <br />
                <asp:Label ID="Sub18TimeLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub18PossessionTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchSubstitutionInstructions_PossessionConditionHeaderText %>"></asp:Label>
                <br />
                 <asp:Label ID="Sub18PossessionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub18ScoreTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, Global_GoalsCondition %>"></asp:Label>
                <br />
                <asp:Label ID="Sub18ScoreLabel" runat="server" SkinID="GridLabel"></asp:Label>    
            </td>  
            <td style="width:45%; vertical-align:top;">
                <div id="Sub18PlayerOutArea">
                    <asp:Label ID="Sub18PlayerOutTitleLabel" runat="server" SkinID="InfoLabel"></asp:Label>
                    <asp:Label ID="Sub18PlayerOutLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
                <div id="Sub18PlayerInArea">
                    <asp:Label ID="Sub18PlayerInTitleLabel" runat="server" SkinID="InfoLabel"
                        Text="<%$ Resources:Resource, Global_PlayerIn %>"></asp:Label>
                    <asp:Label ID="Sub18PlayerInLabel" runat="server" SkinID="GridLabel" ></asp:Label>
                </div>
                <div id="Sub18PlayerChangeArea">
                    <asp:Label ID="Sub18NewPositionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewPosition %>"></asp:Label>
                    <asp:Label ID="Sub18NewPositionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub18NewInstructionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewInstruction %>"></asp:Label>
                    <asp:Label ID="Sub18NewInstructionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub18NewPreferredActionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_NewPreferredActionLabel %>"></asp:Label>
                    <asp:Label ID="Sub18NewPreferredActionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                </div>
                <div id="Sub18TeamArea">
                    <asp:Label ID="Sub18NewAttitudeTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAttituseBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub18NewAttitudeLabel" runat="server" SkinID="GridLabel"></asp:Label>     
                    <br />
                    <asp:Label ID="Sub18NewAggressivenessTitlelabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAggressivenessBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub18NewAggressivenessLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
            </td>     
            <td style="width:5%; vertical-align:middle;">
                <asp:ImageButton ID="Sub18DeleteSubstitutionImageButton" runat="server" 
                ImageUrl="~/Images/Icons/delete.png"
                ToolTip="<%$ Resources:Resource, Global_Delete %>"
                 OnClientClick="javascript:DeleteSubstitution('18'); return false;" />
            </td>    
            </tr>
            </table>
        </div>
        <div id="Substitution19" class="subinstructions_area padding5 rounded_corners">
            <table style="width:100%;">
            <tr>
            <td style="width:5%; vertical-align:middle; text-align:center;">
                <asp:HiddenField ID="Sub19TypeHiddenField" runat="server" Value="0" />
                <asp:HiddenField ID="Sub19TimeMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub19TimeMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub19PossessionMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub19PossessionMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub19ScoreMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub19ScoreMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub19YellowCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub19RedCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub19PlayerOutHiddenField" runat="server" />
                <asp:HiddenField ID="Sub19PlayerInHiddenField" runat="server" />
                <asp:HiddenField ID="Sub19NewPlayerPositionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub19NewPlayerInstructionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub19NewPlayerPreferredActionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub19NewTeamAttitudeHiddenField" runat="server" />
                <asp:HiddenField ID="Sub19NewTeamAggressivenessHiddenField" runat="server" />
                <asp:ImageButton ID="Sub19SwapUpImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowup.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionUpText %>"
                 OnClientClick="javascript:MoveSubUp('19'); return false;"/>
                 <br />
                <asp:Label ID="Sub19NumberLabel" runat="server" Text="19" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:ImageButton ID="Sub19SwapDownImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowDownGreen.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionDownText %>"
                 OnClientClick="javascript:MoveSubDown('19'); return false;"/>
            </td>
            <td style="width:45%; vertical-align:top;">                
                <asp:Label ID="Sub19TimeTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchInstructionsNew_SubtitiutionMinutesTitleLabel %>"></asp:Label>
                <br />
                <asp:Label ID="Sub19TimeLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub19PossessionTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchSubstitutionInstructions_PossessionConditionHeaderText %>"></asp:Label>
                <br />
                 <asp:Label ID="Sub19PossessionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub19ScoreTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, Global_GoalsCondition %>"></asp:Label>
                <br />
                <asp:Label ID="Sub19ScoreLabel" runat="server" SkinID="GridLabel"></asp:Label>    
            </td>  
            <td style="width:45%; vertical-align:top;">
                <div id="Sub19PlayerOutArea">
                    <asp:Label ID="Sub19PlayerOutTitleLabel" runat="server" SkinID="InfoLabel"></asp:Label>
                    <asp:Label ID="Sub19PlayerOutLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
                <div id="Sub19PlayerInArea">
                    <asp:Label ID="Sub19PlayerInTitleLabel" runat="server" SkinID="InfoLabel"
                        Text="<%$ Resources:Resource, Global_PlayerIn %>"></asp:Label>
                    <asp:Label ID="Sub19PlayerInLabel" runat="server" SkinID="GridLabel" ></asp:Label>
                </div>
                <div id="Sub19PlayerChangeArea">
                    <asp:Label ID="Sub19NewPositionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewPosition %>"></asp:Label>
                    <asp:Label ID="Sub19NewPositionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub19NewInstructionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewInstruction %>"></asp:Label>
                    <asp:Label ID="Sub19NewInstructionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub19NewPreferredActionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_NewPreferredActionLabel %>"></asp:Label>
                    <asp:Label ID="Sub19NewPreferredActionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                </div>
                <div id="Sub19TeamArea">
                    <asp:Label ID="Sub19NewAttitudeTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAttituseBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub19NewAttitudeLabel" runat="server" SkinID="GridLabel"></asp:Label>     
                    <br />
                    <asp:Label ID="Sub19NewAggressivenessTitlelabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAggressivenessBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub19NewAggressivenessLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
            </td>     
            <td style="width:5%; vertical-align:middle;">
                <asp:ImageButton ID="Sub19DeleteSubstitutionImageButton" runat="server" 
                ImageUrl="~/Images/Icons/delete.png"
                ToolTip="<%$ Resources:Resource, Global_Delete %>"
                 OnClientClick="javascript:DeleteSubstitution('19'); return false;" />
            </td>    
            </tr>
            </table>
        </div>
        <div id="Substitution20" class="subinstructions_area padding5 rounded_corners">
            <table style="width:100%;">
            <tr>
            <td style="width:5%; vertical-align:middle; text-align:center;">
                <asp:HiddenField ID="Sub20TypeHiddenField" runat="server" Value="0" />
                <asp:HiddenField ID="Sub20TimeMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub20TimeMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub20PossessionMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub20PossessionMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub20ScoreMinHiddenField" runat="server" />
                <asp:HiddenField ID="Sub20ScoreMaxHiddenField" runat="server" />
                <asp:HiddenField ID="Sub20YellowCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub20RedCardedPlayerHiddenField" runat="server" />
                <asp:HiddenField ID="Sub20PlayerOutHiddenField" runat="server" />
                <asp:HiddenField ID="Sub20PlayerInHiddenField" runat="server" />
                <asp:HiddenField ID="Sub20NewPlayerPositionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub20NewPlayerInstructionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub20NewPlayerPreferredActionHiddenField" runat="server" />
                <asp:HiddenField ID="Sub20NewTeamAttitudeHiddenField" runat="server" />
                <asp:HiddenField ID="Sub20NewTeamAggressivenessHiddenField" runat="server" />
                <asp:ImageButton ID="Sub20SwapUpImageButton" runat="server"
                 ImageUrl="~/Images/Icons/arrowup.png"
                 ToolTip="<%$ Resources:Resource, MatchInstructions_MoveSubstitutionUpText %>"
                 OnClientClick="javascript:MoveSubUp('20'); return false;"/>
                 <br />
                <asp:Label ID="Sub20NumberLabel" runat="server" Text="20" SkinID="GridLabel"></asp:Label>
            </td>
            <td style="width:45%; vertical-align:top;">                
                <asp:Label ID="Sub20TimeTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchInstructionsNew_SubtitiutionMinutesTitleLabel %>"></asp:Label>
                <br />
                <asp:Label ID="Sub20TimeLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub20PossessionTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, MatchSubstitutionInstructions_PossessionConditionHeaderText %>"></asp:Label>
                <br />
                 <asp:Label ID="Sub20PossessionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                <br />
                <asp:Label ID="Sub20ScoreTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, Global_GoalsCondition %>"></asp:Label>
                <br />
                <asp:Label ID="Sub20ScoreLabel" runat="server" SkinID="GridLabel"></asp:Label>    
            </td>  
            <td style="width:45%; vertical-align:top;">
                <div id="Sub20PlayerOutArea">
                    <asp:Label ID="Sub20PlayerOutTitleLabel" runat="server" SkinID="InfoLabel"></asp:Label>
                    <asp:Label ID="Sub20PlayerOutLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
                <div id="Sub20PlayerInArea">
                    <asp:Label ID="Sub20PlayerInTitleLabel" runat="server" SkinID="InfoLabel"
                        Text="<%$ Resources:Resource, Global_PlayerIn %>"></asp:Label>
                    <asp:Label ID="Sub20PlayerInLabel" runat="server" SkinID="GridLabel" ></asp:Label>
                </div>
                <div id="Sub20PlayerChangeArea">
                    <asp:Label ID="Sub20NewPositionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewPosition %>"></asp:Label>
                    <asp:Label ID="Sub20NewPositionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub20NewInstructionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, Global_NewInstruction %>"></asp:Label>
                    <asp:Label ID="Sub20NewInstructionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                    <asp:Label ID="Sub20NewPreferredActionTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_NewPreferredActionLabel %>"></asp:Label>
                    <asp:Label ID="Sub20NewPreferredActionLabel" runat="server" SkinID="GridLabel"></asp:Label>
                    <br />
                </div>
                <div id="Sub20TeamArea">
                    <asp:Label ID="Sub20NewAttitudeTitleLabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAttituseBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub20NewAttitudeLabel" runat="server" SkinID="GridLabel"></asp:Label>     
                    <br />
                    <asp:Label ID="Sub20NewAggressivenessTitlelabel" runat="server" SkinID="InfoLabel"
                     Text="<%$ Resources:Resource, MatchSubstitutionInstructions_TeamNewAggressivenessBehaviourLabel %>"></asp:Label>
                    <asp:Label ID="Sub20NewAggressivenessLabel" runat="server" SkinID="GridLabel"></asp:Label>
                </div>
            </td>     
            <td style="width:5%; vertical-align:middle;">
                <asp:ImageButton ID="Sub20DeleteSubstitutionImageButton" runat="server" 
                ImageUrl="~/Images/Icons/delete.png"
                ToolTip="<%$ Resources:Resource, Global_Delete %>"
                 OnClientClick="javascript:DeleteSubstitution('20'); return false;" />
            </td>    
            </tr>
            </table>
        </div>
    </div>
    </div>
    <script language="javascript" type="text/javascript">
        OpenEnabledSubstitutionDivs();
    </script>
    <br />
    <br />
    <br />
    <div style="width:100%; text-align:center;">
        <asp:Button ID="SubmitButton" runat="server" CssClass="GreenButtonTextStyle"
            Text="<%$ Resources:Resource, Global_Submit %>"
            OnClientClick="return ValidateDDLSOnSubmit()"
            OnClick="SubmitOrders" />
        &nbsp;
        <asp:CheckBox ID="SaveAsDefaultCheckBox" runat="server" CssClass="reg_text red_inline_text"
        Text="<%$ Resources:Resource, MatchInstructions_SADCheckBox %>" />    
        &nbsp;
        <asp:DropDownList ID="SaveDefaultTypeDDL" runat="server"  CssClass="rounded_corners"></asp:DropDownList>
  
                
    </div>
    
     
    
    
    <br />
    <br />
    <asp:HyperLink ID="BasicInstructionsHyperLink" runat="server" SkinID="GreenTitleHyperLink"
    Text="<%$ Resources:Resource, MatchInstructions_BasicOrdersHyperlink %>"></asp:HyperLink>
    
    </div>
    <div class="clearBoth"></div>

    
   <asp:SqlDataSource ID="PlayersDataSourse" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
    SelectCommand="Nivdal_GetListOfPlayersForMatchOrders" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
   <asp:SqlDataSource ID="PreferredActionDDLSqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
        SelectCommand="Nivdal_GetPreferredActionsDDLNoZero" SelectCommandType="StoredProcedure">
        <SelectParameters>
            <asp:ControlParameter ControlID="LanguageHiddenField" PropertyName="Value" Name="Language" Type="Decimal" />
        </SelectParameters>
    </asp:SqlDataSource>
    <asp:SqlDataSource ID="PreferredActionDDLSqlDataSourceWithZero" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
        SelectCommand="Nivdal_GetPreferredActionsDDL" SelectCommandType="StoredProcedure">
        <SelectParameters>
            <asp:ControlParameter ControlID="LanguageHiddenField" PropertyName="Value" Name="Language" Type="Decimal" />
        </SelectParameters>
    </asp:SqlDataSource>
    <asp:SqlDataSource ID="GetInstructionDDLSqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
        SelectCommand="Nivdal_GetInstructionDDLnoZero" SelectCommandType="StoredProcedure">
        <SelectParameters>
            <asp:ControlParameter ControlID="LanguageHiddenField" PropertyName="Value" Name="Language" Type="Decimal" />
        </SelectParameters>
    </asp:SqlDataSource>
    <asp:SqlDataSource ID="GetInstructionDDLSqlDataSourceWithZero" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
        SelectCommand="Nivdal_GetInstructionDDL" SelectCommandType="StoredProcedure">
        <SelectParameters>
            <asp:ControlParameter ControlID="LanguageHiddenField" PropertyName="Value" Name="Language" Type="Decimal" />
        </SelectParameters>
    </asp:SqlDataSource>
    <asp:SqlDataSource ID="GetAggressivenessDDLSqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
        SelectCommand="Nivdal_GetAggressivenessDDL" SelectCommandType="StoredProcedure">
        <SelectParameters>
            <asp:ControlParameter ControlID="LanguageHiddenField" PropertyName="Value" Name="Language" Type="Decimal" />
        </SelectParameters>
    </asp:SqlDataSource>
    <asp:SqlDataSource ID="GetAttitudeDDLSqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
        SelectCommand="Nivdal_GetAttitudeDDL" SelectCommandType="StoredProcedure">
        <SelectParameters>
            <asp:ControlParameter ControlID="LanguageHiddenField" PropertyName="Value" Name="Language" Type="Decimal" />
        </SelectParameters>    
    </asp:SqlDataSource>
    <asp:SqlDataSource ID="GetSubstitutePositionsDDLSqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
        SelectCommand="Nivdal_GetSubstitutePositionsDDLnoZero" SelectCommandType="StoredProcedure">
        <SelectParameters>
            <asp:ControlParameter ControlID="LanguageHiddenField" PropertyName="Value" Name="Language" Type="Decimal" />
        </SelectParameters>
    </asp:SqlDataSource>
    <asp:SqlDataSource ID="PreviousMatchesDataSourse" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
        SelectCommand="Nivdal_GetPreviousMatchesDDLForGameInstructions" SelectCommandType="StoredProcedure">
    </asp:SqlDataSource>
    <asp:SqlDataSource ID="GetPositionsDDLSqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
        SelectCommand="Nivdal_GetStartingPositionsDDL" SelectCommandType="StoredProcedure">
        <SelectParameters>
            <asp:ControlParameter ControlID="LanguageHiddenField" PropertyName="Value" Name="Language" Type="Decimal" />
        </SelectParameters>
    </asp:SqlDataSource>
    <asp:SqlDataSource ID="PlayersDDLDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
        SelectCommand="Nivdal_GetPlayersDDL" SelectCommandType="StoredProcedure">
    </asp:SqlDataSource>
    <script language="javascript" type="text/javascript">
        showPitch();
    </script>
    </div>
    </div>
    </div>
</asp:Content>

